
Linux Command Line Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Standards-aligned

Ade Ako
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are tasked with setting up a new server. You need to ensure that a specific user can execute administrative tasks without switching to the root user. Which command would you use to achieve this?
chmod
chown
sudo
su
Tags
DOK Level 3: Strategic Thinking
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol in the Linux command prompt indicates that you are logged in as the root user?
$
~
@
#
Tags
DOK Level 3: Strategic Thinking
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are analyzing a script that automates user account creation. The script uses the command `useradd -m`. What is the purpose of the `-m` option in this context?
It assigns a default shell to the user.
It creates a home directory for the user.
It sets a password for the user.
It adds the user to the sudoers file.
Tags
DOK Level 3: Strategic Thinking
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer needs to find all files in a directory that contain the word "error" and list them. Which command should they use?
grep -r "error" /directory
find /directory -name "error"
locate "error" /directory
search "error" /directory
Tags
DOK Level 3: Strategic Thinking
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are required to change the permissions of a file so that only the owner can read and write to it, while others have no permissions. Which command will you use?
chmod 600 filename
chmod 644 filename
chmod 755 filename
chmod 777 filename
Tags
DOK Level 3: Strategic Thinking
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A user reports that they cannot access a file even though they have read permissions. What could be a possible reason for this issue?
The file is corrupted.
The file is located in a directory where the user lacks execute permissions.
The file is too large to open.
The file is a hidden file.
Tags
DOK Level 3: Strategic Thinking
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to schedule a script to run every day at midnight. Which tool would you use to accomplish this task?
at
cron
nohup
screen
Tags
DOK Level 3: Strategic Thinking
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Grade 12- Knowledge Booster- JavaScript Events

Quiz
•
12th Grade
15 questions
Quiz on OU, Users, and Groups

Quiz
•
12th Grade
13 questions
Linux File Paths & Navigation

Quiz
•
12th Grade
10 questions
Pengenalan Navigasi adobe Flash

Quiz
•
12th Grade
15 questions
Windows Server vs Regular Windows - How Are They Different?

Quiz
•
12th Grade
10 questions
Post Assessment - Cybersecurity Awareness

Quiz
•
9th Grade - Professio...
18 questions
Computer Science Club Review

Quiz
•
9th - 12th Grade
10 questions
Technical Terms - Internet (A-Z) - ASP.NET

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade