[Solved] Re: Why update Swahili?

Patrick O'Callaghan pocallaghan at gmail.com
Thu Sep 24 05:16:47 UTC 2009


On Thu, 2009-09-24 at 06:14 +0500, gilpel at altern.org wrote:
> Well, in my book, rm is a bash command. It might not be exclusive to
> the bash shell, but it definitely is a bash command. Otherwise, maybe
> you could tell us what a bash command is to you?

You are wrong. 'rm' (meaning /bin/rm) is an executable program. Shell
commands are builtin procedures such as 'cd', 'eval', etc. Unix Shells
have worked this way since the beginning.

In Bash, if you want to know if a command is builtin, use 'type':

$ type rm
rm is /bin/rm
$ type cd
cd is a shell builtin
$ type type
type is a shell builtin

poc




More information about the users mailing list