Search Header Logo

Mastering Linux Commands

Authored by Leyla Zeynallı-Hüseynzadə

Computers

12th Grade

Used 7+ times

Mastering Linux Commands
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 change directories in Linux?

pwd

cd

mv

ls

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you remove a file in Linux?

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

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

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

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new empty file?

create

mkdir

newfile

touch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'mv' command?

To compress files and directories.

To delete files and directories.

To move or rename files and directories.

To copy files and directories.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view and edit a file in the terminal?

Use 'cat', 'less', or 'more' to view a file; use 'nano', 'vim', or 'emacs' to edit a file.

Use 'show' to view a file; use 'modify' to edit a file.

Use 'open' to view a file; use 'write' to edit a file.

Use 'print' to view a file; use 'edit' to edit a file.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to copy a file from one location to another?

mv source_file destination_path (Unix/Linux)

transfer source_file destination_path (Unix/Linux)

cp source_file destination_path (Unix/Linux) or copy source_file destination_path (Windows)

rename source_file destination_path (Windows)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you navigate to the parent directory in Linux?

cd .

cd /

cd ~

cd ..

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?