Search Header Logo

Linux Commands 5

Authored by Yasi B

Computers

University

Linux Commands 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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/

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers