Name

enable

Synopsis

enable [options] [built-in ...]

Description

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.

-n builtin

Disable builtin.

-p

Display enabled built-ins.

-s

Restrict display to special built-ins defined by POSIX standard.

Get Linux in a Nutshell, Third 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.