M0-Command Line Basics Quiz

M0-Command Line Basics Quiz

Professional Development

9 Qs

quiz-placeholder

Similar activities

All About Me - Tina Pan

All About Me - Tina Pan

KG - Professional Development

13 Qs

Operation System

Operation System

1st Grade - Professional Development

8 Qs

Fanasa O2P

Fanasa O2P

Professional Development

8 Qs

DevOps-1 [Git, CICD and Configuration Management]

DevOps-1 [Git, CICD and Configuration Management]

Professional Development

10 Qs

FinTech 01-2

FinTech 01-2

Professional Development

9 Qs

305.03 - Advanced Command Line

305.03 - Advanced Command Line

Professional Development

7 Qs

Linux Basics

Linux Basics

Professional Development

10 Qs

Army bangtan

Army bangtan

University - 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/`