Linux Fundamentals - Sorting Files Using the ls Command

Linux Fundamentals - Sorting Files Using the ls Command

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial covers the use of the tar utility for compressing and extracting files, followed by a detailed explanation of sorting files using the LS command. It demonstrates sorting by name, size, time, and extension, using various options like dash S and dash dash sort. The tutorial concludes with a brief introduction to sorting file contents.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which utility is used to compress files in the tutorial?

gzip

tar

zip

rar

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default sorting order of files and directories when using the 'ls' command?

By name

By date

By type

By size

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option is used with the 'ls' command to sort files by size?

-l

-S

-r

-t

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you reverse the sorting order when using the 'ls' command?

-h

-v

-R

-r

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does sorting by extension using the 'ls' command achieve?

Groups files by their size

Groups files by their type

Groups files by their modification date

Groups files by their owner

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?