codeaprendiz.github.io

DevOps Essentials

View on GitHub

##sort

NAME

sort - sort lines of text file

SYNOPSIS

sort [OPTION]… [FILE]…

DESCRIPTION

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

OPTIONS

EXAMPLES

$ cat num alpha alphaNum
2
1
b
a
z 1
y 2
$ sort num alpha alphaNum
1
2
a
b
y 2 
z 1
$