type command

Builtin commands are contained within the bash shell itself. How do I list all bash builtin commands under Linux / Apple OS X / *BSD / Unix like operating systems without reading large bash man page?

{ 2 comments }

How do I determine if a function called foo() is already defined in a bash script or not? If a function called foo() is defined just call it or show an error message?

{ 4 comments }

Q. When I type the following command under CentOS 4.x / Fedora Linux: enable hplj2 I see the error message: -bash: enable: hplj2: not a shell builtin How do I fix this error?

{ 0 comments }