1.

____ command is used for sorting a file on specified fields.(a) cut(b) sort(c) pr(d) tailThe question was posed to me in a national level competition.The doubt is from Sort Command topic in portion Simple Filters of Unix

Answer»

Right option is (B) sort

For explanation: SORTING is the ordering of DATA in ascending or descending order. The sort COMMAND is used for ordering a file. Like cut command, sort also identifies fields and perform sorting on specified fields. To sort any file, just provide the name of the file as an argument with sort command.



Discussion

No Comment Found

Related InterviewSolutions