Linux Command Line Basics

Test your knowledge of fundamental Linux commands and shell navigation.

1. What does the 'pwd' command stand for?
2. Which command is used to list the contents of a directory?
3. What does the '-l' flag do when used with 'ls'?
4. Which command changes the current working directory?
5. What command creates a new directory?
6. Which command copies files or directories?
7. What does the 'mv' command do?
8. Which command deletes (removes) files?
9. What does the 'sudo' command do?
10. Which command displays the first 10 lines of a file?
11. Which commands can be used to view the contents of a file?
12. Which flags are commonly used with the 'rm' command to delete directories?
13. Which commands are used for file compression or archiving?
14. Which commands display system information?
15. The 'rmdir' command can delete non-empty directories.
16. The 'chmod' command is used to change file permissions.
17. The 'echo' command is used to print text to the terminal.
18. What command is used to search for a specific pattern in files? (lowercase)
19. Name the command that displays disk usage of files and directories (abbreviation).
20. What command clears the terminal screen?
Answered 0 of 0 — 0 correct