
Linux Command Line Quiz

Quiz
•
Computers
•
1st Grade
•
Easy
Akhilash K
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the pwd command?
To print the working directory
To change the directory
To list the contents of a directory
To show the last executed command
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command shows the current logged-in user?
who
whoami
pwd
ls
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ls -l display?
Only the names of files and directories
Detailed information about files, including permissions
The size of all files in bytes
Recently modified files
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you run cat /etc/passwd?
It deletes user accounts
It displays system users
It lists all system groups
It modifies user passwords
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you view the first 5 lines of the /etc/passwd file?
head /etc/passwd
tail -n5 /etc/passwd
head -n5 /etc/passwd
wc -l /etc/passwd
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does wc -l /etc/passwd output?
The total number of words
The total number of lines
The total number of bytes
The total number of characters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command displays a file one page at a time?
cat
less
wc
head
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Storage-Quiz-2

Quiz
•
1st Grade
15 questions
Perintah Dasar Linux 1

Quiz
•
1st Grade
20 questions
Computer storage

Quiz
•
1st - 4th Grade
19 questions
Linux-CrearUser

Quiz
•
1st - 5th Grade
15 questions
Linux-1 Week 4

Quiz
•
1st - 3rd Grade
18 questions
Linux-UserGroup

Quiz
•
1st - 5th Grade
20 questions
Informacijos tvarkymas kompiuteriu

Quiz
•
1st Grade
15 questions
Sharing Knowledge Linux (RHEL8)

Quiz
•
1st Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
PBIS Terrace View

Quiz
•
1st - 5th Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
9 questions
Good Citizenship and Responsibility

Interactive video
•
1st - 3rd Grade
20 questions
Number Words Challenge

Quiz
•
1st - 5th Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
7 questions
Science Safety

Quiz
•
1st - 2nd Grade
25 questions
Math Review

Quiz
•
1st Grade