Professional Documents
Culture Documents
Instructions:
There are 7 questions of one mark each and 1 question of 3 marks. All 1 mark questions are having four distinct
options out of which only one choice will be correct. All questions are compulsory.
1)____-x____ option with ______ps___ command is used to display user running processes.
2) To delete a specific job from a job list, ________ command with ________ is used.
3) Which is(are) correct command(s) to add two numbers out of the following:
4) Suppose you want to run a shell script (eval-3.sh) every Tuesday in the morning at 5:00 AM at your
teminal. Which of the following crontab entry will do the same on terminal?
5) We don’t need to compile a shell script because shell scripts are __________.
Ans: Interpreted
7) ________ option with _______ command is used to remove a process form the system.
6) ______ command is used to display different shells that a particular operating system supports.
b) #! /bin/bash d) #! /etc/bash
8) Write a shell script to compare the content of two files such that only the first word of every line of
both the files should be displayed with “*” as delimiter. (3 Marks)