About Me

My photo
Vijayapur, Karnataka, India
I am interested in Teaching.

Tuesday 14 November 2017

Third Assignment of USP (Open Book Test on 15th Nov 2017)

What is shell script? Explain the following statements with syntax and examples. (10 marks)
    i) if     ii) case    iii) while  iv) for


What is shell programming? Write a shell program to create a menu and execute a given options based on users choice. Options include.
i)List of users  ii) List of processes  iii) List of files  iv) Current date   v)Content of files   vi) Display current login users (10 marks)

Explain the following with an example.  (8 marks)
    i) head    ii) tail   iii) cut   iv) paste


Explain with example set and shift commands in Unix to manipulate positional parameters. (08 marks)


Explain sort command with options and examples. (6 marks)


Distinguish between hard link and soft link with neat diagram and examples. (06 marks)


What is process? Explain the mechanisms of process creation. (06 marks)


Explain the following commands. (6 marks)
i) at  ii)batch  iii) cron  & crontab




No comments:

GCD of two numbers and its application...

The greatest common divisor (gcd) of two numbers is the largest positive integer that divides both numbers without leaving a remainder. The ...