HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

enable — Enable and disable shell builtins. More information: <https://www.gnu.org/software/bash/manual/bash.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandandclibuiltinsenabledisable

Problem

How to use the enable command: Enable and disable shell builtins. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-enable>.

Solution

enable — Enable and disable shell builtins. More information: <https://www.gnu.org/software/bash/manual/bash.html#index-enable>.

Print the list of builtins:
enable


Disable a builtin (works in Bash only):
enable -n {{command}}


Re-enable a builtin:
enable {{command}}

Code Snippets

Print the list of builtins

enable

Disable a builtin (works in Bash only)

enable -n {{command}}

Re-enable a builtin

enable {{command}}

Context

tldr-pages: common/enable

Revisions (0)

No revisions yet.