-bash: enable: PrinterName: not a shell builtin Error and Solution
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?
A. There are multiple versions of the enable command. One built in to the shell, and one in /usr/bin/enable. You need to use full path to /usr/bin/enable to avoid this error:
# /usr/bin/enable hplj2
The following command print out list of internal and external command. It also indicates how it would be interpreted if used as a command name
$ type -a enable
Output:
enable is a shell builtin enable is /usr/bin/enable
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Restrict Linux users to their home directories only
- Find out if shell command is aliased or not
- Linux: How to start and stop printer queues
- Linux Failure (4322): Configuration Initialization Failed - Error and Solution
- Where is my Linux GNU C or gcc compiler installed?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: /usr/bin/enable, CentOS, enable command, error message, redhat enable command error, shell, type command



Recent Comments
Today ~ 32 Comments
Yesterday ~ 1 Comment
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments