Search Header Logo

Basic Linux Commands for Beginners

Authored by Prayag Koirala

Information Technology (IT)

6th Grade

Used 3+ times

Basic Linux Commands for Beginners
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to list files in a directory?

ls

dir

show

list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the current directory in Linux?

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

Execute 'dir' to list and change directories.

Type 'change dir' followed by the path.

Use the 'mv' command to move directories.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command shows the present working directory?

mkdir

pwd

cd

ls

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to create a new directory?

del

rmdir

mkdir

remove

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you remove an empty directory in Linux?

Run 'delete ' to remove an empty directory.

Use the command 'rm ' to delete a directory.

Use the command 'rmdir ' to remove an empty directory.

Execute 'rmdir -r ' to remove a directory.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command displays the contents of a file?

cat

display

show

list

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create an empty file in Linux?

create filename.txt

new file filename.txt

touch filename.txt

emptyfile -create

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?