1.

Which option is used when we’ve to sort files containing only numbers?(a) -n(b) -a(c) -d(d) -uThe question was posed to me in exam.My query is from Sort Command topic in chapter Simple Filters of Unix

Answer»

The correct CHOICE is (a) -n

Explanation: When SORT COMMAND acts on a numeral, strange THINGS can happen if a file contains only NUMERALS. So we have to use the -n option with sort command. For example,



Discussion

No Comment Found

Related InterviewSolutions