The document is a lab file submitted by Nayan Sahu for the course BTIT406 Unix and Shell Programming at Shri Vaishnav Vidyapeeth Vishwavidyalaya. It contains an index listing 14 experiments performed on topics related to Unix architecture, commands, file systems, editors, pipes, file permissions and shell scripting. Each experiment is listed with the date performed and space for signatures.
The document is a lab file submitted by Nayan Sahu for the course BTIT406 Unix and Shell Programming at Shri Vaishnav Vidyapeeth Vishwavidyalaya. It contains an index listing 14 experiments performed on topics related to Unix architecture, commands, file systems, editors, pipes, file permissions and shell scripting. Each experiment is listed with the date performed and space for signatures.
The document is a lab file submitted by Nayan Sahu for the course BTIT406 Unix and Shell Programming at Shri Vaishnav Vidyapeeth Vishwavidyalaya. It contains an index listing 14 experiments performed on topics related to Unix architecture, commands, file systems, editors, pipes, file permissions and shell scripting. Each experiment is listed with the date performed and space for signatures.
Department of computer science and engineering INDEX
Code:- BTIT406 Subject:- Unix and shell programming
Session:-Jan.2022 Enrollnment No:-20100BTCSE07601
S.no Experiments Date Date Of Signature
Of Sub. Remarks Performing. 1. To study UNIX architecture its features 24/01/2022 and different types of shell in Unix. 2. To study and use of Unix general purpose 31/01/2022 utility commands (man, who, whoami, echo, cal , date, pwd, factor,path,tty,banner etc). 3. To study Unix file system and use of disk 07/02/2022 related commands. 4. To study and use of file and directory 14/02/2022 handling commands(cat, Mkdir,rmdir,head ,tail,compress,pack Touch, head ,grep etc). 5. To study and use of pipe 21/02/2022 command .construct pipe line to carry out the following jobs. a.)list all files beginning with character ‘p’ on the screen and also store in file1 b.)merge the contents of the files a.txt ,b.txt and c.txt .sort them and display the sorted output on the screen page by page. c.)display the list of last 3 files present in the current directory and files. 6. To study various file attributes and 28/02/2022 permission related commands for directories and files.
7. To study of vi editor and its operating 07/03/2022
modes.create and edit a text file using the
Nayan Sahu 20100BTCSE07601
BTIT406 Unix & Shell Programming Lab
vi editor commands. 8. Write a shell script to display list of users 14/03/2022 currently logged in.
9. Write a shell script to find the smallest of 21/03/2022
the three numbers that are read from the keyboard. 10. Write a shell script for calculate to 04/04/2022 perform basic arithmetic operations.
11. Write a shell script to understand different 11/04/2022
types of Loop with break and continue statements. 12. 18/04/2022 Write a shell script that accepts any number of arguments and prints them in reverse order.
13. Write a shell script sum.sh that takes an 25/04/2022
unspecified number of command line argument(upto 9)of integers and finds their sums.modify the code to add a number to the sum only if the number is greater than 10.
14. Write a shell script that takes input from 02/05/2022
files and display the content line and also remove identical line (or a duplicate line from a file) .