Published at LXer:
We can classify all of the Linux/Unix commands into two types- Internal And External. Internal commands are the shell built-in commands while external commands are files present in the $PATH. (Remember we treat everything in the Linux as a file). Commands like pwd, cd ,echo comes under the category of the internal commands while ls,cp etc comes in the other category. To check whether the command is internal or external we will use the typeutility (type itself is internal one)
Read More...