1.

Which option is used with sort command to specify the field delimiter?(a) -a(b) -t(c) -k(d) -nI have been asked this question during an internship interview.I need to ask this question from Sort Command in portion Simple Filters of Unix

Answer»

Right answer is (B) -t

Easy EXPLANATION: sort COMMAND uses one or more contiguous spaces as the default field separator but we can specify our own field delimiter using the option -t. For example, to PERFORM SORTING using | as the delimiter, use the following command:



Discussion

No Comment Found

Related InterviewSolutions