
list directory
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Shlomo G
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic use case of the ls command?
To list the names of the files and directories in the working directory
To create a new directory
To change the current working directory
To display the metadata of files
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you include hidden entries in the directory listing using ls?
Using the -h option
Using the -l option
Using the -a option
Using the -d option
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -l option with ls command display?
Only the size of files
Only hidden files
Metadata about the file
Only the names of files and directories
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you list the contents of a directory other than your working directory?
By providing its pathname as an argument to ls
By changing the working directory first
By using the -d option followed by the directory name
By using the -o option followed by the directory name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of prefixing the ls command with a backward slash?
It lists only hidden files
It lists the contents in reverse order
It changes the output to long format
It avoids alias expansion
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which directory contains the home directories of all regular Armlab users?
/u
/home
/usr
/var
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of files does ls -a display that ls does not?
Only files larger than 1MB
Only files modified in the last 24 hours
Hidden files
Executable files only
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
15 questions
Excel
Quiz
•
10th - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Youtube
Quiz
•
4th Grade - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
