Linux Terminal Commands Quiz

SkilledMetonymy avatar
SkilledMetonymy
·
·
Download

Start Quiz

Study Flashcards

12 Questions

Which command is used to create a new directory?

mkdir

What does the && operator do in the terminal?

Executes the next command only if the previous command succeeds

Which command is used to display the current working directory?

pwd

What is the purpose of the sudo command?

Allows users to run programs with the security privileges of another user, typically the superuser

Which command is used to copy files or directories?

cp

What is the purpose of the > operator in the terminal?

Redirects command output to a file, overwriting the file's contents

What command can be used to display the disk space used by files and directories?

df

Which command compresses files using the gzip compression algorithm?

gzip

What does the 'chfn' command do?

Changes the user's full name information

Which command can be used to create a new user account?

useradd

What does the 'hostname' command do?

Prints or sets the system's hostname

What does the 'whatis' command do?

Displays one-line manual page descriptions

Test your knowledge of essential Linux terminal commands with this quiz. From displaying manual pages to managing directories and software packages, this quiz covers a range of common commands used in the terminal.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Command Line Navigation Quiz
3 questions
Commandes de base Linux
10 questions

Commandes de base Linux

ResourcefulGeranium avatar
ResourcefulGeranium
Use Quizgecko on...
Browser
Browser