unix shell commands

unix shell commands

Assessment

Assessment

Created by

Akhilesh singh

Computers

University

119 plays

Medium

Student preview

quiz-placeholder

30 questions

Show all answers

1.

MULTIPLE CHOICE

45 sec • 1 pt

What is a shell script?

2.

MULTIPLE CHOICE

45 sec • 1 pt

Shell scripts need to be saved with an extension .sh .

3.

MULTIPLE CHOICE

45 sec • 1 pt

The first line in any shell script begins with a _____

4.

MULTIPLE CHOICE

45 sec • 1 pt

To run the script, we should make it executable first by using _____

5.

MULTIPLE CHOICE

45 sec • 1 pt

Which command is used for making the scripts interactive?

6.

MULTIPLE CHOICE

45 sec • 1 pt

The first argument is read by the shell into the parameter ___

7.

MULTIPLE CHOICE

45 sec • 1 pt

The complete set of positional parameters is stored in ______ as a single string.

8.

MULTIPLE CHOICE

45 sec • 1 pt

Which command is used to display the top of the file?

9.

MULTIPLE CHOICE

45 sec • 1 pt

which commands gives the no of recently logged in users?

10.

MULTIPLE CHOICE

45 sec • 1 pt

find out the 7th character of the word 'ENCYCLOPAEDIA'?

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?