
Linux Command Line Quiz
Authored by Srinivasteach1729 Srinivas
Mathematics
5th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the /etc/fstab file?
Manage user accounts
Store mounted filesystem information
Configure network settings
Store user passwords
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command du -sh * do?
Displays disk usage in human-readable format for all files and directories
Deletes files
Sorts files
Shows file permissions
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to check system uptime?
free
uptime
ps
df
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does tail -n 10 filename do?
Shows the first 10 lines of a file
Shows the last 10 lines of a file
Copies the file
Deletes the last 10 lines
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct command to add a new user?
useradd username
adduser username
createuser username
newuser username
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change a user's password?
passwd username
change-password username
userpass username
update-password username
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you view the list of users in a Linux system?
cat /etc/passwd
ls -l /home
users
whoami
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?