How do you sort a command in Unix?

Bờm

Member
How do you sort a command in Unix?
Answer
Unix Sort Command with Examples
  1. sort -b: Ignore blanks at the start of the line.
  2. sort -r: Reverse the sorting order.
  3. sort -o: Specify the output file.
  4. sort -n: Use the numerical value to sort.
  5. sort -M: Sort as per the calendar month specified.
  6. sort -u: Suppress lines that repeat an earlier key.
18 февр. 2021 г.
 

Tìm kiếm

Back
Top