Linux Commands 5

Linux Commands 5

University

15 Qs

quiz-placeholder

Similar activities

Linux CLI

Linux CLI

University

11 Qs

Operating System

Operating System

University

10 Qs

Part 2 - Command Line

Part 2 - Command Line

University

10 Qs

WLUG Linux CS quiz

WLUG Linux CS quiz

University

16 Qs

Linux Commands

Linux Commands

University

10 Qs

Linux User Management

Linux User Management

10th Grade - University

20 Qs

Unix File system

Unix File system

University

10 Qs

Files and Directories

Files and Directories

University

10 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?