
Mastering Unix Command Line
Quiz
•
Health Sciences
•
University
•
Practice Problem
•
Easy
Yemi Yemi
Used 1+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to list files in a directory?
ls
dir
list
show
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you change the current directory in Unix?
Use the 'cd' command followed by the directory path.
Use the 'mv' command to change directories.
Use 'ls' to navigate to a different directory.
Type 'change dir' followed by the path.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to display the contents of a file?
show
display
list
cat
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you find the current working directory?
Use 'pwd' in Unix/Linux or 'cd' in Windows Command Prompt.
Type 'dir' in Windows Explorer
Use 'ls' in Unix/Linux
Check the system settings for the path
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'grep' command do?
The 'grep' command compiles code into executable files.
The 'grep' command searches for patterns in files and outputs matching lines.
The 'grep' command manages system processes and services.
The 'grep' command formats text documents for printing.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you view the first 10 lines of a file?
head -n 10 filename
less filename | head -n 10
cat filename | head
tail -n 10 filename
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to search for a specific string in files?
search
locate
grep
find
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?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Health Sciences
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
