ExamGecko
Question list
Search
Search

Question 240 - SPLK-1001 discussion

Report
Export

How are the results of the following search sorted?

... | sort action, ---file, +bytes

A.
In descending order by action, then descending order by file, and lastly by ascending order of bytes.
Answers
A.
In descending order by action, then descending order by file, and lastly by ascending order of bytes.
B.
In ascending order by action, then descending order by file, and lastly by ascending order of bytes.
Answers
B.
In ascending order by action, then descending order by file, and lastly by ascending order of bytes.
C.
In descending order by action if it exists. If not, then in descending order by file, and if both action and file do not exist, by ascending order of bytes.
Answers
C.
In descending order by action if it exists. If not, then in descending order by file, and if both action and file do not exist, by ascending order of bytes.
D.
In ascending order by action if it exists. If not, then in descending order by file, and if both action and file do not exist, by ascending order of bytes.
Answers
D.
In ascending order by action if it exists. If not, then in descending order by file, and if both action and file do not exist, by ascending order of bytes.
Suggested answer: B

Explanation:

Using a minus sign (-) for descending order and a plus sign (+) for ascending order. If no sign is specified, the default order is ascending.

Sorting by multiple fields in the order they are specified. If there are duplicate values in one field, the next field is used to break the tie.

Sorting by field values according to their types. If the field type is not specified, the sort command tries to automatically determine it.

asked 23/09/2024
Cristian Pernia
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first