The concept is correct: there are built in commands that are part of bash. There are other commands that are sand alone programs.une wrote:This command does not execute a function built into the shell itself, unlike commands such as rm and grep. Do I have this much correct?.
FYI...rm and grep are external commands, not a shell commands.
Here is the list of built in commands
http://linux.about.com/library/cmd/blcmdl1_builtin.htm
Whenever you are in doubt you can execute "which" with a valid command
Code: Select all
which <command>
e.g.
which grep
Note that I said "valid command", if you use "which" with an invalid command or a program that is not in your path, then it will complain too.