Skip to content

Linux Basic Commands โ€“ Full Quiz

โ† Back to Quiz Home


This quiz contains 20 questions covering basic Linux commands every DevOps engineer must know. It is designed for practice, revision, and interview preparation.


#

Which command prints the current working directory?

#

Which command lists files in the current directory?

#

Which option with ls shows files in long format?

#

Which option with ls shows hidden files?

#

In Linux, hidden files start with which character?

#

Which command is used to change directories?

#

What does cd .. do?

#

Which command takes you directly to the home directory?

#

Which path starts from the root directory /?

#

Which path depends on the current directory?

#

Which command displays the contents of a file?

#

Which command is commonly used to view short text files?

#

What does pwd stand for?

#

Which command lists files including hidden ones in long format?

#

Which command shows files and directories in the current location?

#

Which directory symbol represents the current directory?

#

Which directory symbol represents the parent directory?

#

Which command prints the Linux OS information file?

#

Which of the following is NOT a Linux command?

#

Which command helps verify where you are in the filesystem?

Quiz Progress

0 / 0 questions answered (0%)

0 correct


๐Ÿ“š Study Guides


๐Ÿš€

Practice Live in Your Browser

Stop reading and start doing! Launch a fully-configured, secure Linux sandbox directly in your browser. Practice commands, debug broken servers, and complete timed challenges with instant task validation.

FREE LAUNCH OFFER Get all premium Linux labs for FREE until July 31st! (No Credit Card Required)

๐Ÿ“ฌ Weekly DevOps, Cloud & Gen AI quizzes & guides