LinuxText Processingsort
cut

sortText Processing

sort -u

Sort lines of text.

Syntax

sort [OPTION]... [FILE]...

Example

Enter values below to update the example in real time.

sort
names
txt
numbers
rn
scores
# 알파벳 정렬
sort names.txt

# 숫자 정렬
sort -n numbers.txt

# 역순 정렬
sort -rn scores.txt