Skip to content

Linux File & Directory Management – Full Quiz

Back to Quiz Home


This quiz contains 20 questions focused on Linux file and directory management. It helps DevOps engineers practice common filesystem operations used on servers.


#

Which command is used to create a directory?

#

Which option with mkdir creates parent directories if they do not exist?

#

Which command creates an empty file?

#

Which command removes an empty directory?

#

Which command removes a directory and its contents recursively?

#

Which command copies files or directories?

#

Which option with cp copies directories recursively?

#

Which command moves or renames files?

#

Which command displays the contents of a file?

#

Which command shows a directory structure in a tree format?

#

Which editor is commonly used to edit files in Linux terminals?

#

Which command opens a file in read/write mode using vi?

#

Which command lists files and directories in the current directory?

#

Which command deletes a file?

#

Which command removes multiple files at once?

#

Which command shows detailed information about files?

#

Which command creates multiple directories at once?

#

Which command is safer for copying large directory structures in production?

#

Which command prints the content of a file to the terminal?

#

Which command helps visualize directory contents recursively?

Quiz Progress

0 / 0 questions answered (0%)

0 correct


📚 Study Guides


📬 Weekly DevOps, Cloud & Gen AI quizzes & guides