The Complete Practical Docker Guide - Sorting Files Using Ls Command

The Complete Practical Docker Guide - Sorting Files Using Ls Command

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This 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 file name, size, modification time, and extension, using various LS command options. The tutorial concludes with a brief overview of sorting file contents, setting the stage for further learning.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which utility is used to compress and extract files in the tutorial?

rar

gzip

tar

zip

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default sorting order for files and directories when using the LS command?

By type

By name

By date

By size

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

-t

-r

-S

-l

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you sort files by their modification time using the LS command?

-t

--time

-m

--sort=time

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What option allows you to sort files by their extension using the LS command?

--sort=ext

-e

--ext

--sort=extension