UNIX ASSIGNMENT-2
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 programmer
Comments
Post a Comment