Search Header Logo

Linux Commands & Shell Scripting Quiz

Authored by sathi v

others

Linux Commands & Shell Scripting Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which command is used to list files in a directory?

ls
dir
show
list

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

The command to display the present working directory is:

pwd
cwd
workdir
path

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which command is used to create an empty file?

touch
make
mkfile
empty

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

To display the contents of a text file, we use:

read
ls
cat
open

5.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

The command to create a new directory is:

newdir
mkdir
makedir
md

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which command removes a file?

rm
rmdir
delete
erase

7.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which command removes an empty directory?

rm
removedir
rmdir
deldir

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?