M0-Command Line Basics Quiz

M0-Command Line Basics Quiz

Professional Development

9 Qs

quiz-placeholder

Similar activities

305.03 - Advanced Command Line

305.03 - Advanced Command Line

Professional Development

7 Qs

Kpop

Kpop

Professional Development

9 Qs

Quiz OS concepts and distros

Quiz OS concepts and distros

Professional Development

11 Qs

K-POP QUIZ T-T

K-POP QUIZ T-T

KG - Professional Development

11 Qs

TXT Quiz- Easy

TXT Quiz- Easy

KG - Professional Development

12 Qs

BTS QUIZ

BTS QUIZ

KG - Professional Development

9 Qs

BTS songs

BTS songs

Professional Development

11 Qs

DevOps-1 [Git, CICD and Configuration Management]

DevOps-1 [Git, CICD and Configuration Management]

Professional Development

10 Qs

M0-Command Line Basics Quiz

M0-Command Line Basics Quiz

Assessment

Quiz

Other

Professional Development

Hard

Created by

Katie Sylvia

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

`cd`

`ls`

`mkdir`

`rm`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to change the current directory to a specified directory?

`ls`

`cd`

`pwd`

`touch`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to display the current working directory?

`ls`

`cd`

`pwd`

`echo`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new directory named "projects"?

`mkdir projects`

`cd projects`

`ls projects`

`rm projects`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove a file named "example.txt"?

`rm example.txt`

`rmdir example.txt`

`delete example.txt`

`erase example.txt`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display the contents of a file named "notes.txt"?

`cat notes.txt`

`ls notes.txt`

`cd notes.txt`

`rm notes.txt`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to move a file named "report.txt" to a directory named "documents"?

`mv report.txt documents/`

`cp report.txt documents/`

`rm report.txt documents/`

`ls report.txt documents/`

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `-r` option do when used with the `rm` command?

Removes files recursively

Removes files forcefully

Removes only directories

Removes only files

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you copy a file named "data.csv" to a directory named "backup"?

`cp data.csv backup/`

`mv data.csv backup/`

`rm data.csv backup/`

`ls data.csv backup/`