Search Header Logo

Mastering Linux File Management

Authored by Gülbiçə Abdullayeva

Computers

12th Grade

Used 2+ times

Mastering Linux File Management
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 command is used to list files in a directory?

listfiles

ls (Unix/Linux) or dir (Windows)

view directory

show contents

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a new directory in Linux?

Type 'create directory directory_name'.

Use the command 'rmdir directory_name'.

Execute 'newdir directory_name'.

Use the command 'mkdir directory_name'.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove a file?

rm

clear

remove-file

delete

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to copy a file?

rm source_file destination_file

touch source_file destination_file

mv source_file destination_file

cp source_file destination_file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you move a file from one location to another?

Use the 'copy' command in Unix/Linux

Use the 'mv' command in Unix/Linux or 'move' command in Windows, or use programming functions like shutil.move in Python.

Drag and drop the file to delete it

Rename the file to move it to a new location

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command displays the current working directory?

cd

mkdir

pwd

ls

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you rename a file in Linux?

Use the 'mv' command to rename a file.

Use the 'cp' command to rename a file.

Use the 'rm' command followed by 'touch' to create a new file with the desired name.

Rename the file by editing its properties in the GUI.

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?