There are several Linux commands that give you information about Linux commands besides the man
command.
The type
command returns types of commands. There are largely three types.
Here are examples of the three types.
type echo
echo is a shell builtin
type find
find is /usr/bin/find
type ll
ll is aliased to `ls -alF'
The which
command gives you a file path of a command.
which sort
/usr/bin/sort
The whereis
command is similar to the which
command but gives you more information.
whereis sort
sort: /usr/bin/sort /usr/share/man/man1/sort.1.gz
There are several Linux commands that give you information about Linux commands besides the man
command.
The type
command returns types of commands. There are largely three types.
Here are examples of the three types.
type echo
echo is a shell builtin
type find
find is /usr/bin/find
type ll
ll is aliased to `ls -alF'
The which
command gives you a file path of a command.
which sort
/usr/bin/sort
The whereis
command is similar to the which
command but gives you more information.
whereis sort
sort: /usr/bin/sort /usr/share/man/man1/sort.1.gz