Linux: System Administration Fundamentals
Linux: System Administration Fundamentals
Up to 20 questions, shuffled on every run
Welcome to the Linux Basics Quiz! This quiz covers fundamental Linux concepts, commands, and system administration best practices. Each question is multiple-choice, and you’ll find hints to help you along the way. Good luck!
Answer key and explanations20 questions
The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.
Which command is used to display the current working directory?
Answer`pwd`
Which symbol represents the current user’s home directory?
Answer`~`
What does the command "chmod 777 file.txt" do?
AnswerGrants read, write, and execute rights to everyone
Which command is used to view the contents of a file without opening an editor?
Answer`cat`
What is the "Root" user in Linux?
AnswerThe superuser account with unrestricted system access
Which command allows a user to run a command with superuser privileges?
Answer`sudo`
Where are system-wide configuration files usually stored?
Answer`/etc`
Which command lists all currently running processes?
Answer`ps`
What does the "grep" command do?
AnswerSearches for a specific pattern within text
Which command is used to remove a directory and all its contents?
Answer`rm -rf`
What is a "Man Page"?
AnswerThe built-in documentation for commands
Which command is used to change the owner of a file?
Answer`chown`
What does the "|" (pipe) operator do?
AnswerSends one command’s output to another
Which package manager is native to Debian-based systems?
Answer`apt`
What does "df -h" show?
AnswerAvailable space on mounted filesystems
Which character overwrites a file with command output?
Answer`>`
What is "systemd"?
AnswerThe primary system and service manager
How do you see the last 10 lines of a file?
Answer`tail`
What is the purpose of the /tmp directory?
AnswerHolds temporary files cleared at boot
How do you kill a process if you know its ID?
Answer`kill`
Which command searches for files by name or size?
Answer`find`
What is a "Shebang" ( #! )?
AnswerA line specifying the script interpreter
Where is local user group information stored?
Answer`/etc/group`
What is a "Symbolic Link" (Soft Link)?
AnswerA pointer to another file or directory
Which command shows the manual for a command?
Answer`man`
What does the /dev directory contain?
AnswerFiles representing hardware devices
How do you view hidden files?
Answer`ls -a`
Which command provides an interactive process list?
Answer`top`
What does "tar -cvf" do?
AnswerCreates a new archive from files
What is the PID 1 process?
AnswerThe Init system (like systemd)








