linux:cli:sort

sort

Write sorted concatenation of all FILE(s) to standard output.

sort [OPTION]... [FILE]...
sort [OPTION]... --files0-from=F
  • sort [OPTION]… [FILE]…: 오름차순 정렬(줄단위)
    • -r: 내림차순 정렬
    • –ignore-case, -f: 대소문자 무시
    • -b: 공백 무시
    • -tseparator: 구분자로 구분.
    • -k key: 정렬할 키 지정. (eg. 4n 4번째 컬럼을 numberic으로 비교)
  • linux/cli/sort.txt
  • 마지막으로 수정됨: 2024/09/19 05:23
  • 저자 writer