Mastering Shell Scripting and Commands

Mastering Shell Scripting and Commands

University

20 Qs

quiz-placeholder

Similar activities

SASS and NPM Quiz

SASS and NPM Quiz

University

20 Qs

OSG202 Quiz1

OSG202 Quiz1

University

20 Qs

Ch.8 - Introducing Python

Ch.8 - Introducing Python

6th Grade - Professional Development

20 Qs

Linux Basics Quiz

Linux Basics Quiz

University

16 Qs

Informatika Kelas 8

Informatika Kelas 8

12th Grade - University

20 Qs

Comandos Linux

Comandos Linux

University

19 Qs

WLUG Linux CS quiz

WLUG Linux CS quiz

University

16 Qs

QUIZ 4

QUIZ 4

University

25 Qs

Mastering Shell Scripting and Commands

Mastering Shell Scripting and Commands

Assessment

Quiz

Computers

University

Medium

Created by

Pushpendra Pateriya

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to list files in a directory?

list

dir

ls

show

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to denote a comment in a shell script?

//

#

%%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to create a variable in shell scripting?

myVar:Hello

myVar=Hello

let myVar=Hello

set myVar=Hello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to compile a Makefile?

generate

make

build

compile

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does RCS stand for in the context of version control?

Resource Coordination System

Revision Control System

Rapid Change System

Remote Control System

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change file permissions in Linux?

Run the 'ls' command to view permissions.

Use the 'chmod' command.

Edit the file directly with a text editor.

Use the 'chown' command.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the current working directory?

pwd

mkdir

cd

ls

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?