
Linux Commands Quiz

Quiz
•
Information Technology (IT)
•
University
•
Easy
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
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University