Linux Commands Quiz

Linux Commands Quiz

University

60 Qs

quiz-placeholder

Similar activities

IMC413 Test 2 20244

IMC413 Test 2 20244

University

60 Qs

UAS Digital Forensik '25

UAS Digital Forensik '25

University

62 Qs

Computer Fundamentals Quiz

Computer Fundamentals Quiz

University

58 Qs

Cybersecurity and AI Quiz

Cybersecurity and AI Quiz

University

61 Qs

Cybersecurity Concepts Worksheet

Cybersecurity Concepts Worksheet

University

55 Qs

DCCN VIVA QUIZ

DCCN VIVA QUIZ

University

56 Qs

Python 1

Python 1

University

60 Qs

Test Quiz

Test Quiz

University

61 Qs

Linux Commands Quiz

Linux Commands Quiz

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Saranya Muthu

Used 1+ times

FREE Resource

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The man command is used to access the detailed user manual for any other command. It provides comprehensive information about the command's syntax, options, and usage examples. For instance, man ls shows everything about the ls command.

Displays the manual (documentation) for other commands.

Lists the contents of a directory (files and folders).

Changes the current working directory.

Prints the full path of the current/working directory.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ls command lists files and directories. The -l option provides a detailed list with permissions, owner, size, and modification time. The -a option includes hidden files (those starting with a dot). Combining them as ls -al is very common.

Displays the manual (documentation) for other commands.

Lists the contents of a directory (files and folders).

Changes the current working directory.

Prints the full path of the current/working directory.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The cd command is used to navigate between directories. cd folder moves into 'folder', cd .. moves up to the parent directory, and cd or cd ~ takes you directly to your home directory from anywhere.

Changes the current working directory.

Lists the contents of a directory (files and folders).

Prints the full path of the current/working directory.

Creates new directories.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pwd command outputs the absolute path of the directory you are currently working in. This is essential for orientation within the complex Linux filesystem hierarchy.

Changes the current working directory.

Lists the contents of a directory (files and folders).

Prints the full path of the current/working directory.

Creates new directories.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The mkdir command creates new directories. The powerful -p option allows you to create an entire path of nested directories at once, even if the parent directories don't already exist.

Creates new directories.

Removes empty directories.

Moves or renames files and directories.

Copies files and directories.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The rmdir command is used to delete empty directories. It is a safe command as it will not delete a directory that contains any files or subdirectories, preventing accidental data loss.

Creates new directories.

Removes empty directories.

Moves or renames files and directories.

Copies files and directories.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The mv command has a dual purpose. It is used to move files/directories from one location to another. It is also used to rename them, as renaming is essentially moving the file to the same location with a new name.

Moves or renames files and directories.

Creates new directories.

Removes empty directories.

Copies files and directories.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?