Sunday, 9 October 2016

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

Assignment 5.

a) How does the command mv bar1 bar2 behave , where both bar1 and bar2 are directories, when (i) bar2 exists and (ii)bar2 does not exist

b) Write a command to display lines common to a.txt and b.txt?

c) Write a command to display lines unique to a.txt?

d) Run script command and then issue dir,ls,pwd commands and then run exit.What is its output?

Next Assignment 

No comments:

Post a comment