1. Count the total number of words in file text1. 2. List the contents of ls command page wise. 3. Create a file FILE2 with some text in it. Increase the no. of hard links to the file FILE2 to 3 and check the inode number and link count for those names. 4. Using one single command, display the output of “who” and “pwd” commands. 5. Display the system date in following format: Today is Friday, 17 May 96 6. Display the following text message on the monitor screen.
Deposited $100 to you account 7. Display the following message on the monitor.
The long listing of my home dir ………… is ………… 8. Use find command to locate the following within your home directory tree: a) Files with extension .c or .pl b) Directories having permission 755 c) Files having permission 655 d) Files having inode number 12122 e) Files which have not been accessed for more than a year and save the list in Old_File f) Files whose size is greater than 1024 bytes
Comments
Leave a comment