Search Header Logo

Linux Command Line Quiz

Authored by Keerthana Singh

Other

12th Grade

Used 4+ times

Linux Command Line Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to print the working directory?

ls

cd

pwd

la -a

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'ls' command do?

Create a new directory

List contents of current directory

Copy files

Remove files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you see hidden files in a directory?

cp

cd

rm

la -a

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'cd ..' command do?

List contents of current directory

Remove files

Rollback

Copy files

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to copy files?

rm

rmdir

cp

mv

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'rm' command do?

Remove or delete files

Create a new directory

Copy files

List contents of current directory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a file in Linux?

echo anytext

mkdir

touch filename.txt

nano newfilename

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?