list directory

list directory

12th Grade

10 Qs

quiz-placeholder

Similar activities

MIL March 8, 2023

MIL March 8, 2023

12th Grade

10 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

TCP/IP & other protocols [A Level]

TCP/IP & other protocols [A Level]

12th Grade

14 Qs

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

list directory

list directory

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Shlomo G

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?