Sunday, 9 October 2016

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


Assignment 4.

a) Run the following command and explain its output
(i) cd ../.. (ii)mkdir ../bin (iii)rmdir .. (iv)ls ..

b) Write a command to remove entire directory structure
DOEACC/ALEVEL/AL55 in one command?

c) Run the command tty and note the device name of your terminal. Now run cp
/etc/passwd to device name of your terminal. Explain its output.