Type

type is a command to show the type of a file.
 * Note: Dos has a command type to show the content of a file. For the Linux equivalent, have a look at cat.
 * Note: If you want to find out the type of a file based on its content, have a look at the file command.

tweedleburg:~ # echo $SHELL /bin/bash tweedleburg:~ # type ls ls is aliased to `ls $LS_OPTIONS' tweedleburg:~ # type cp cp is /bin/cp tweedleburg:~ # type wait wait is a shell builtin
 * Example: