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


📬 Weekly DevOps, Cloud & Gen AI quizzes & guides