What is the basic use case of the ls command?

list directory

Quiz
•
Computers
•
12th Grade
•
Hard
Shlomo G
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
OS ICE BREAKING

Quiz
•
KG - University
10 questions
LINUX CLI

Quiz
•
12th Grade
10 questions
Chapter 11.1 Windows Desktop and File Explorer

Quiz
•
KG - Professional Dev...
15 questions
FILE MANAGEMENT

Quiz
•
KG - University
15 questions
La shell di Linux

Quiz
•
9th - 12th Grade
11 questions
File Management and Computer Literacy

Quiz
•
9th - 12th Grade
10 questions
Quiz-ACTIVE DIRECTORY

Quiz
•
12th Grade
14 questions
DOS commands

Quiz
•
12th Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense

Quiz
•
10th - 12th Grade