Name
enable
Synopsis
enable [-adnps] [-ffile] [command…]
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
-aFor use with
-p; print information about all built-in commands, disabled and enabled.-dRemove (delete) a built-in previously loaded with
-f.-ffileLoad a new built-in command command from the shared library file file.
-nDisable the named built-in commands.
-pPrint a list of enabled built-in commands.
-sPrint only the POSIX special built-in commands. When combined with
-f, the new built-in command becomes a POSIX special built-in.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access