Sunday 9 October 2016

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

Assignment 9.

Using vi editor
a) Write a command to copy line number 1,10 after line number 25.

b) Write a command to move line number 1,10 after line number 25.

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

Assignment 8.

Using vi editor write commands to do the following
a) Combine five lines into a single line.

b) Search a pattern printf and then repeat the search in opposite direction.

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

Assignment 7.

a) Use chmod –w . and then try to create and remove a file in the current
directory. What is its output.

b) Run the commands (i) ls –ld . and (ii) ls –l .. Explain its output.

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

Assignment 6.

a) Write a command to compare two text files.

b) Write a command to copy a file with permission 444.Copy it again and explain
your observation.