On Thu, 2009-09-24 at 06:14 +0500, gilpel(a)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
Interesting. Now that I have a shell builtin, I won't have to scroll
through all the bash man page to find the list. They're under... SHELL
BUILTIN COMMANDS.
$ type type
type is a shell builtin
poc
--
fedora-list mailing list
fedora-list(a)redhat.com
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines