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
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:
Post a Comment