
Linux Fundamentals - Sorting Contents of Files Using the Sort Utility
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of the sort utility?
To sort the contents of a file
To modify the original file
To delete duplicate lines
To change file permissions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option allows you to save the sorted output to a file?
-n
-r
-u
-o
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -r option do in the sort command?
Sorts the data in reverse order
Sorts the data numerically
Sorts the data alphabetically
Sorts the data by file size
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -n option do when used with the sort command?
Sorts the data by file size
Sorts the data numerically
Sorts the data alphabetically
Sorts the data in reverse order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the sort command handle numbers by default?
Sorts them as characters
Sorts them by size
Sorts them numerically
Ignores them
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option is used to ensure only unique values are included in the sorted output?
-n
-r
-o
-u
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default action of the sort command regarding output?
Modifies the original file
Deletes the original file
Prints to standard output
Prints to a file
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?