Commands-2 On this page Sort# Sorts lines of text files by default, non-numeric.
sort - sort lines of text files
Reverse Order# Numeric Sort# Sort By Month# Month format: Jan
, Feb
, Mar
.
Specify Column# Default is separated by (consecutive) spaces or tabs.
Specify Delimiter And Column# -k
index starts from 1, the 3rd column is the user ID.
sort -t ':' -k 3 -n /etc/passwd
Ignore Case# Remove Duplicates# Alias# sort - sort lines of text files
Possible Aliases# Type# External/Internal Command# Can view if a command is an internal command, internal commands are compiled into the shell, different from external commands, no subprocess execution is required.
ps is hashed ( /usr/bin/ps)
All Implementations# echo is a shell builtin
echo is /usr/bin/echo
echo is /bin/echo
Command Aliases# ll is aliased to ` ls -alF'
ls is aliased to ` ls --color= auto'
ls is /usr/bin/ls
ls is /bin/ls
Readlink# readlink - print resolved symbolic links or canonical file names
Final Link# No need to look one by one.