Name
enable
Synopsis
enable [options
] [built-in .
..]
Enable (or when -n is specified, disable) built-in shell commands.
Without built-in
argument or with -p
option, print enabled built-ins. With -a, print the status of all
built-ins. You can disable shell commands in order to define your own
functions with the same names.
Options
- -a
Display all built-ins, both enabled and disabled.
- -d
Delete a built-in command that was previously loaded with -f.
- -f
filename
On systems that support dynamic loading, load the new built-in command
built-in
from the shared objectfilename
.- -n
Disable each specified
built-in
.- -p
Display enabled built-ins.
- -s
Restrict display to special built-ins defined by the POSIX standard.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.