Contents
How do I sort in Linux?
How to Sort Files in Linux using Sort Command
- Perform Numeric Sort using -n option. …
- Sort Human Readable Numbers using -h option. …
- Sort Months of an Year using -M option. …
- Check if Content is Already Sorted using -c option. …
- Reverse the Output and Check for Uniqueness using -r and -u options.
9 апр. 2013 г.
What is the command used to sort a file in Linux?
Sort is a Linux program used for printing lines of input text files and concatenation of all files in sorted order. Sort command takes blank space as field separator and entire Input file as sort key.