unix shell commands

unix shell commands

University

30 Qs

quiz-placeholder

Similar activities

Understanding Loops in Programming

Understanding Loops in Programming

University

25 Qs

ITE6 Prelim exam BSIT 2-3

ITE6 Prelim exam BSIT 2-3

University

25 Qs

UTS manajemen data 2017, FKM Universitas Malahayati

UTS manajemen data 2017, FKM Universitas Malahayati

University

25 Qs

Video Games

Video Games

KG - University

28 Qs

Copyrights issue

Copyrights issue

University

26 Qs

CCC4 Chapter 1 - Introduction to Computers

CCC4 Chapter 1 - Introduction to Computers

University

25 Qs

Arduino

Arduino

University

25 Qs

Advanced Game Design Midterm

Advanced Game Design Midterm

University

25 Qs

unix shell commands

unix shell commands

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Akhilesh singh

Used 120+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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) $$

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?