Mastering Linux File Management

Mastering Linux File Management

12th Grade

15 Qs

quiz-placeholder

Similar activities

Linux M1

Linux M1

9th - 12th Grade

10 Qs

FILE MANAGEMENT

FILE MANAGEMENT

KG - University

15 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

15 Qs

Computer Applications

Computer Applications

9th - 12th Grade

20 Qs

DOS commands

DOS commands

12th Grade

14 Qs

Photoshop Selections and More

Photoshop Selections and More

9th - 12th Grade

18 Qs

Linux 1 -- Commands -- Chapter 1 & 2

Linux 1 -- Commands -- Chapter 1 & 2

12th Grade

14 Qs

Basic Linux Commands Part 1

Basic Linux Commands Part 1

9th - 12th Grade

12 Qs

Mastering Linux File Management

Mastering Linux File Management

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Gülbiçə Abdullayeva

Used 2+ times

FREE Resource

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.

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?

Discover more resources for Computers