≡ Menu

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?
[click to continue…]

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?
[click to continue…]

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?
[click to continue…]