unix shell commands

unix shell commands

University

30 Qs

quiz-placeholder

Similar activities

Hacking quiz

Hacking quiz

University

26 Qs

ระบบปฏิบัติการ ชุดที่ 1

ระบบปฏิบัติการ ชุดที่ 1

University

25 Qs

Basic Linux Quiz

Basic Linux Quiz

University

30 Qs

SLG ULI Week 7

SLG ULI Week 7

University

33 Qs

PowerShell

PowerShell

University

25 Qs

APP DEV (Short Quiz # 2)

APP DEV (Short Quiz # 2)

University

30 Qs

220 1002 A+ 50-75

220 1002 A+ 50-75

University

25 Qs

CIW 10

CIW 10

7th Grade - Professional Development

26 Qs

unix shell commands

unix shell commands

Assessment

Quiz

Computers

University

Medium

Created by

Akhilesh singh

Used 120+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a shell script?

group of commands

a file containing special symbols

a file containing a series of commands

group of functions

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

True

False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The first line in any shell script begins with a _____

a) &

b) !

c) $

d) #

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

a) chmod +x

b) chmod +r

c) chmod +w

d) chmod +rwx

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used for making the scripts interactive?

a) ip

b) input

c) read

d) write

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

a) 1$

b) $3

c) $$

d) $1

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

a) $n

b) $#

c) $*

d) $$

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?