Linux Commands Quiz
Master the terminal and system administration by memorizing fundamental and advanced Linux commands to become more efficient.
30 cards
updated
Trial · card 1 / 5no account
Question:
Which command lists the files in a directory?
Box 1new card
All 30 quiz questions and answers
- Question 1Which command lists the files in a directory?
- Answerls
- Question 2Which command changes the current directory?
- Answercd
- Question 3Which command displays the path of the current working directory?
- Answerpwd
- Question 4Which command creates a new directory?
- Answermkdir
- Question 5Which command deletes a file?
- Answerrm
- Question 6Which command creates an empty file?
- Answertouch
- Question 7Which command copies files or directories?
- Answercp
- Question 8Which command moves or renames a file?
- Answermv
- Question 9Which command displays the content of a text file?
- Answercat
- Question 10Which command searches for a text pattern?
- Answergrep
- Question 11Which command modifies file permissions?
- Answerchmod
- Question 12Which command changes the owner of a file?
- Answerchown
See the other 18 cards Hide
- Question 13Which command displays active processes in real time?
- Answertop
- Question 14Which command sends a signal to stop a process?
- Answerkill
- Question 15Which command displays disk space usage?
- Answerdf
- Question 16Which command estimates the size occupied by a directory?
- Answerdu
- Question 17Which command displays current network interfaces?
- Answerip
- Question 18Which command downloads a file from the internet?
- Answerwget
- Question 19Which command displays the user manual for a command?
- Answerman
- Question 20Which command executes a task in superuser mode?
- Answersudo
- Question 21Which command creates a compressed archive?
- Answertar
- Question 22Which command displays RAM usage?
- Answerfree
- Question 23Which command schedules recurring tasks?
- Answercrontab
- Question 24Which command displays the history of entered commands?
- Answerhistory
- Question 25Which command searches for specific files?
- Answerfind
- Question 26Which command displays the first ten lines of a file?
- Answerhead
- Question 27Which command displays the last ten lines of a file?
- Answertail
- Question 28Which command sorts the lines of a file?
- Answersort
- Question 29Which command displays users logged into the system?
- Answerwho
- Question 30Which command immediately reboots the machine?
- Answerreboot
Memorize this deck with spaced repetition
MagicCards adapts your reviews to your progress. Free.