Search Header Logo

Unix Commands Quiz

Authored by Pushpendra Pateriya

Computers

12th Grade

Used 5+ times

Unix Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

How would you create multiple nested directories using a single command?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the mkdir command do?

Moves files to a new directory

Creates a new directory

Deletes a directory

Renames a directory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary use of the touch command?

To change file permissions

To create a new empty file or update the timestamp of an existing file

To display file contents

To delete files

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the rmdir command?

Removes files

Removes empty directories

Removes directories and their contents

Renames directories

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the . symbol represent in a file path?

The home directory

The root directory

The current directory

The parent directory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the risk associated with using rm -rf?

It can slow down the system.

It can remove files and directories permanently without any prompt or warning.

It can cause file permissions issues.

It can create duplicate files.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would create a directory named new_folder?

mk new_folder

md new_folder

mkdir new_folder

make new_folder

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?