Command Line Navigation Quiz

Command Line Navigation Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

CCDI Competition- First League - Cycle 3 -

CCDI Competition- First League - Cycle 3 -

9th - 12th Grade

15 Qs

INFORMATIKA KELAS 7A DAN TB

INFORMATIKA KELAS 7A DAN TB

7th Grade - University

15 Qs

Windows System Commands Quiz

Windows System Commands Quiz

12th Grade

20 Qs

ICT and Multimedia Quiz

ICT and Multimedia Quiz

12th Grade - University

14 Qs

Computer Network and Wireless Network

Computer Network and Wireless Network

7th Grade - University

18 Qs

Lesson 3: Equal Access

Lesson 3: Equal Access

9th - 12th Grade

15 Qs

A+ 2.1B Practice: Common Ports

A+ 2.1B Practice: Common Ports

9th - 12th Grade

17 Qs

CM- U2L4 - Exploring Windows OS Features

CM- U2L4 - Exploring Windows OS Features

9th Grade - University

20 Qs

Command Line Navigation Quiz

Command Line Navigation Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Corey Riley

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to list the contents of a directory in Linux?

`cd`

`ls`

`pwd`

`mkdir`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `cd` command in a command line interface?

To copy files

To change directories

To delete files

To list files

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you are in the `/home/user` directory and you want to navigate to `/home/user/documents`, which command would you use?

`cd /home/user`

`cd documents`

`cd /home/user/documents`

`cd ..`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the command `pwd` display in a command line interface?

The current working directory

The list of files in a directory

The previous directory

The parent directory

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you navigate to the parent directory of your current location using the command line?

`cd /`

`cd ..`

`cd ~`

`cd -`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to create a new directory named "projects"?

`mkdir projects`

`rmdir projects`

`cd projects`

`ls projects`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you are in the `/home/user/documents` directory and want to go back to the home directory, which command would you use?

`cd /`

`cd ~`

`cd ..`

`cd /home`

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?