Search Header Logo

Commanding the Command Line Quiz

Authored by ARNAV CI22A

Computers

University

Used 3+ times

Commanding the Command Line Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command is used to display the current working directory?

showdir

pwd

dir

currentdir

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command is used to create a new directory in Linux?

mkdir

newdir

mkd

makedir

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To navigate to the parent directory, which command should be used?

cd ~

cd ..

cd /

cd home

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command is used to remove a file in Linux?

delete

remove

rm

del

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To display the contents of a file in the terminal, which command is used?

show

cat

display

view

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of the `touch` command in Linux?

Creates a new file

Modifies file permissions

Renames a file

Deletes a file

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To copy a file from one directory to another, which command is used?

mv

cp

copy

move

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?