What does sort do in unix?



What does sort do in unix?..

Answer / Priyam Upadhyay

sort arranges the lines of a text file or input stream in alphabetical or numerical order. By default, it sorts lines lexicographically (alphabetically), but you can specify different ordering rules such as numeric or reverse.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

Is used to create ordinary files on any unix system?

1 Answers  


Why is it that it is not advisable to use root as the default login?

1 Answers  


1)what is grep|sort give example? 2)what are the test commands

1 Answers   Cap Gemini,


Who owns unix?

1 Answers  


What is typeset in unix?

1 Answers  


What do you mean by the protection fault?

1 Answers  


What are the criteria for choosing a process for swapping out of the memory to the swap device?

1 Answers  


What is unix and why is it important?

1 Answers  


What are the benefits of running processes in the background?

1 Answers  


What is difference between SSH V1 and SSH V2? What are drawbacks of SSH V2?

1 Answers   Wipro,


Write a script that prints out date information in this order: time, the day of week, day number, month, year(sample output: 17:34:51 pdt sun 12 feb 2012)

1 Answers  


What are the common directory management commands in unix?

1 Answers  


Categories