UNIX Shell Programming Lab

UNIX shell is a command-line interpreter or shell that provides a traditional user interface for the UNIX operating system and for UNIX-like systems. Users direct the operation of the computer by entering commands as text for a command line interpreter to execute, or by creating text scripts of one or more such commands. Major experiments performed in the lab are, use of Basic UNIX shell commands (ls, midair, rmdir, cd, cat, banner, touch, file, wc, sort, cut, grep, dd, displace, du, ulimit), commands related to inode (I/O redirection and piping, process control commands, mails), shell programming (Shell script exercises based on following (i) Interactive shell scripts (ii) Positional parameters (iii) Arithmetic (iv) if-then-fi, if-then-else-fi, nested if-else (v) Logical operators (vi) else + if equals elif, case structure (vii) while, until, for loops, use of break (viii) Met characters (ix) System administration: disk management and daily administration) and writing a shell script to create a file in $USER /class/batch directory.