UNIX ASSIGNMENT-3

UNIX ASSIGNMENT-3 Tutorial-3 Subject : Unix shell programming Duration: 60 Min 1. write a command to display content of top 3 largest file in a working directory. 2. Count no. of words in lines 40 through 60 of file f1.txt. 3. Display all filenames not beginning with “.”. 4. delete all special characters from file x1. 5. Display i-node no of all files of current directory. 6. Display those lines of file f1 that contains exactly 50 characters in it. 7. Replace 'hello' with “HELLO” in input file fin.sh and write those lines to output file fout.sh 8. extract all username and their home directory form /etc/passwd file. 9. Locate lines of file where the second and second last character of the lines are same. 10. Display all lines of files that contains “hello” pattern in it. 11. Display all lines having “g*” pattern in it. 12. Change modification time of file to Dec 25, 10:30 AM. 13. List all files of working directory having at least 4 characters in filename. 14. Execute a comm...