Search Header Logo

Linux Command Line Quiz

Authored by Dr _

Computers

12th Grade

Used 1+ 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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to print the current working directory?

cd

mkdir

pwd

ls

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new directory?

mkdir

rmdir

rm

mv

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command 'ls -a' do?

Lists only hidden files

Lists directories only

Lists all files

Lists files with details

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option with 'rm' forces deletion without prompting for confirmation?

-v

-r

-i

-f

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'mv' command do?

Moves files

Copies files

Creates directories

Deletes files

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command displays the contents of a file one screen at a time?

cat

less

tail

head

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'grep -i' option do?

Inverts the match

Ignores case

Prints line numbers

Counts matching lines

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?