sort Command
Flags
-r
: Reverse Sort
-R
: Random Sort
-n
: Numeric Sort
-M
: Sort Months
-t
: Field Separator
-k
: Sort Key (1,1 : Single Column Sort , 1,4 : Range Sort , 1.3 : Sort by Character)
uniq Command
Flags
-c
: Count Occurrence
-d
: Show Duplicate Lines
-u
: Show Unique Lines