Search Header Logo

Linux/Unix Commands Quiz

Authored by Rawia Salih

Computers

University

Linux/Unix Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new directory in the present working directory?

rm

ls

cat

mkdir

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'man' command do in Linux?

Gives help information on a command

Clears the terminal

Displays the file content

Moves the files to the new location

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you rename a directory in Linux?

rm

rmdir

mv

cat

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'history' command do in Linux?

Lists all files and directories in the present working directory

Gives a list of all past basic Linux commands typed in the current terminal session

Creates a new file

Deletes a file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to clear the terminal in Linux?

ls

clear

cat

rm

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'pr -x' command do in Linux?

Assigns a header to the file

Prints 'c' copies of the File

Divides the file into x columns

Denotes the file with Line Numbers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to move the files to a new location in Linux?

mv

rmdir

rm

cat

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?