/Topic MaterialsICT374 Lab 2: Unix Shells, Standard I/O Redirections, Archiving and Compressions; C's FormattedInput and Output, and Obtaining Command Line Arguments.Learning Objectives:1. Learn to use Unix shells, especially bash shell2. Learn to do standard I/O redirections.3. Learn to use command tarto archive files and to extract files from archives4. Learn to use command gzipand gunzipto compress and uncompress files5. Learn to use standard I/O functions for formatted output: printf, fprintf, and sprintf6. Learn to use standard I/O functions for formatted input: scanf, fscanf, and sscanf.7. Learn to use command line arguments from C programs.Required Reading:Lecture Notes for Topic 2Rute: Ch 4.18, Ch 7.1, Ch 12, Ch 20.8A mini manual for vi editorAccess to Software:Internal students will use the lab at 245.3.063. You must bring a USB drive with you to copy your work from the lab computer. This isnecessary as you cannot retain anything on any one of the lab computers.For external students, if you have already installed Linux on your own computer, then use your own computer. Otherwise, you may usethe university's Linux server (ceto.murdoch.edu.au) temporarily until you have installed the Linux on your computer. Moreinformation on how to install Linux is available from Unit Resources page.Unix ExercisesThe following exercises are designed to get you familiar with Unix (Linux) systems. More information about these basic Unixcommands is available from the relevant chapters in Rute. See the Required Readings.1. Unix ShellsWhen you start up a terminal program, Unix runs a shell program automatically inside the terminal. The default shell for mostLinux distributions is bash shell (/bin/bash). You can confirm this by typing the command psto see the list of processes that arerunning on your login session, which should include bash.You can also start and stop a shell manually. For example, typing the command bashwould start another bash shell process. Youcan exit from the shell by typing the command exitat its prompt.Now try to start a new shell. For example, bash or tcsh. Type the command ps -Hto confirm that different (instances of) shells arerunning. Exit the shell by typing command exit.A shell is a command interpreter. It prints a shell prompt on your terminal, inviting you to enter a command line. It then tries tolocate the command and once located, creates a process to run that command line.