Linux Commands 5

Linux Commands 5

University

15 Qs

quiz-placeholder

Similar activities

Linux Commands

Linux Commands

University

11 Qs

Files and Directories

Files and Directories

University

10 Qs

Linux CLI

Linux CLI

University

11 Qs

Linux Lab Assessment 1

Linux Lab Assessment 1

University

18 Qs

General Info & Commands

General Info & Commands

University

20 Qs

FINAL EXAM_ITC_BLOCK_A

FINAL EXAM_ITC_BLOCK_A

University

20 Qs

Part 2 - Command Line

Part 2 - Command Line

University

10 Qs

Mencipta Home Directory

Mencipta Home Directory

12th Grade - University

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