Search Header Logo

Linux Basics for Beginners

Authored by Muhammad Harun

Information Technology (IT)

University

Used 1+ times

Linux Basics for Beginners
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

1 min • 1 pt

What command is used to list files in a directory?

show

ls

list

dir

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you change directories in Linux?

Use the 'ls' command to navigate to a different directory.

Type 'cd' without any arguments to change directories.

Use the 'cd' command followed by the directory path.

Use the 'mv' command to change directories.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What command is used to display the current working directory?

ls

pwd

cd

mkdir

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command is used to create a new directory?

del

remove

mkdir

rmdir

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you remove a file in Linux?

Execute 'erase filename' to get rid of a file in Linux.

Use the command 'delete filename' to remove a file in Linux.

Use the command 'rm filename' to remove a file in Linux.

Type 'remove filename' in the terminal to delete a file.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What command would you use to copy a file?

mv source_file destination_file

cp source_file destination_file

rm source_file destination_file

touch source_file destination_file

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Use the 'cp' command to copy the file instead.

Drag and drop the file in the file explorer.

Rename the file to move it to a new location.

Use the 'mv' command followed by the source and destination paths.

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?