Name
enable
Synopsis
enable [-adnps] [-ffile
] [command
...]
Bash only. Enable or disable shell built-in commands. Disabling a built-in lets you use an external version of a command that would otherwise use a built-in version, such as echo or test.
Options
-
-a
For use with
-p
; print information about all built-in commands, disabled and enabled.-
-d
Remove (delete) a built-in previously loaded with
-f
.-
-f
file
Load a new built-in command command from the shared library file file.
-
-n
Disable the named built-in commands.
-
-p
Print a list of enabled built-in commands.
-
-s
Print only the POSIX special built-in commands. When combined with
-f
, the new built-in command becomes a POSIX special built-in.
Get Unix in a Nutshell, 4th 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.