Sunday, 9 October 2016

NIELIT Assignment 2 : Basics of Os, Unix and Shell Programming

Assignment 2.

a) Explore the filesystem tree using cd, ls, pwd and cat. Look in /bin, /usr/bin, /sbin, /tmp and /boot. What do you see?.

b) Explore /dev. Can you identify what devices are available? Which are character-oriented and which are block-oriented? Can you identify your tty (terminal) device (typing who am i might help); who is the owner of your tty

(use ls -l)?

c) Explore /proc. Display the contents of the files interrupts, devices, cpuinfo,meminfo and uptime using cat. Can you see why we say /proc is a pseudofilesystem which allows access to kernel data structures?

Next Assignment