Linux Commands 5

Linux Commands 5

University

15 Qs

quiz-placeholder

Similar activities

6thApril

6thApril

University

10 Qs

Linux Basic Commands Quiz

Linux Basic Commands Quiz

University

11 Qs

OS 10 - File Management

OS 10 - File Management

University

16 Qs

RedHat Academy 8.3

RedHat Academy 8.3

10th Grade - University

15 Qs

Linux Commands

Linux Commands

University

10 Qs

Web Systems and Technologies

Web Systems and Technologies

University

20 Qs

Commanding the Command Line Quiz

Commanding the Command Line Quiz

University

15 Qs

Linux Directory Structures

Linux Directory Structures

10th Grade - University

20 Qs

Linux Commands 5

Linux Commands 5

Assessment

Quiz

Computers

University

Hard

Created by

Yasi B

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the ls command?

List the contents of a directory

Copy files and directories

Remove files and directories

Move or rename files and directories

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to define temporary aliases in the shell session?

ls

alias

unalias

pwd

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pwd command do?

Print the working directory

Change the directory

Copy files and directories

Remove files and directories

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you copy a file using the cp command?

cp file_to_copy.txt new_file.txt

cp -r dir_to_copy/ new_copy_dir/

cp file_to_copy.txt

cp -r dir_to_copy/

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove files and directories?

ls

alias

rm

mv

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the mv command?

List the contents of a directory

Copy files and directories

Remove files and directories

Move or rename files and directories

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new folder using the mkdir command?

mkdir images/

mkdir -p movies/2004/

mkdir

mkdir -p movies/

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?