Choose a command that will sort a file "file1" in reverse order. "file1" contains a list of employee numbers.

cat file1 | sort -r

sort -nr file1

cat file1 | sort -n

sort file1 | cat -nr

Verified Answer
Correct Option - b

To get all Self Assessment - Introduction to Unix Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Thu, 11 Dec 2025