list directory

list directory

12th Grade

10 Qs

quiz-placeholder

Similar activities

1.2.4. Types of Programming Language

1.2.4. Types of Programming Language

12th Grade

12 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th 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?