Command Line Navigation Quiz

Command Line Navigation Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

Post tes

Post tes

10th Grade - University

10 Qs

Fundamentals

Fundamentals

7th Grade - University

12 Qs

CIP Task 201 - Categorize Storage Devices, Backup Media and RAID

CIP Task 201 - Categorize Storage Devices, Backup Media and RAID

12th Grade

10 Qs

EXAMEN DE MANTENIMIENTO

EXAMEN DE MANTENIMIENTO

12th Grade

19 Qs

Digital Image Processing Quiz

Digital Image Processing Quiz

12th Grade

15 Qs

AutoCAD 2021 Tools & Functions Quiz

AutoCAD 2021 Tools & Functions Quiz

11th Grade - University

20 Qs

PENILAIAN HARIAN 8H

PENILAIAN HARIAN 8H

12th Grade

10 Qs

Domain 4 Network Security

Domain 4 Network Security

12th Grade

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?