Most of you use Microsoft Word pretty frequently in your day-to-day work.So, assuming those assumptions are correct, I’d like to help you improve your productivity by sharing the most useful Microsoft Word shortcut keys. Ctrl+W . Close the active window / document. Ctrl+Z . Undo an action. Ctrl+Y . Redo the last action or repeat an action. Ctrl+S . Save a document. Ctrl+P . Print a document. Ctrl+K . Insert a hyperlink. Alt+Left . Arrow Go back one page. Alt+Right . Arrow Go forward one page. Ctrl+C . Copy selected text or graphics to the Office Clipboard. Ctrl+V . Paste the most recent addition to the Office Clipboard. Ctrl+Shift+A . Format all letters as capitals. Ctrl+B . Applies or removes bold formatting. Ctrl+I . Applies or removes italic formatting. Ctrl+= . Apply subscript formatting (automatic spacing). Alt, F, A . Save As. Alt, S, T, I . Insert Table of Contents. Alt, S, T, R . Remove Table of Contents. Alt, W, F . Full Screen Reading – Vie...
UNIX ASSIGNMENT-2 Tutorial-2 Subject : Unix shell programming Duration: 60 Min 1. list the content of currrent directory having file names as number. 2. display the filename containing only alphabats as a names. 3. remove all files containing digit as the 2nd latter as their names. 4. create the file named " asd[0-9]". 5. copy the content of file c- to c1,c2,c3. 6. display the date in the following format e.g. "Today's date is : Sat Jul 30 15:25:31 IST 2011" 7. compare 2 files named sc1, sc2 and store the common content in file result. 8. find how many number of lines from sc1 and sc2 are common. 9. display only those files containing the more then 5 character as there names ( the file names having last two characters as digit). 10. create the directory named "maxx" and copy all files having only capital letters. 11. create a file named emp* 12. make a list of employee in following order ( use vi editor ). empid empname post 1 abcd ...
Awk Script 1. Print Even number of words in each line from file Ans. awk '{for(i=1;i<=NF;i++) if(i%2==0) printf("%s ",$i) else continue printf("\n") }' file1 O/P:-= is command file created awk {file1:- this is awk command example this file is created for awk } 2. Display words having length greater than 10 and consists of digit. Ans. awk '{for(i=1;i<=NF;i++) if(length($i)>10) if(int($i)) printf("%s ",$i) else continue printf("\n") }' file2 O/p: 12345678912 {file2: this is number file 123445 123456789 hcd kkd 72 7832 12345678912 1234156789 124 edne 124de edj 12dw ds5 asjkdeyfendj fdej kjd faiuendhgej dk fdkfj87fdnj77n dfjn jhfd hude7634bfdef }
Comments
Post a Comment