GNU/Linux Command – ENABLE

enable — Enable/Disable built-in shell commands

Summary:
It is a BASH built-in command. This allow enable or disable the built-in shell commands. By disabling the built-in command, we use the alternate external command. For example, by disabling the built-in kill command, we can use the /bin/kill command. Add this commands into ~/.bashrc file, so that, it will get executed everytime you login to the system.

Examples:
$ enable -- List all currently enabled built-in commands. $ enable -n -- List all currently disabled built-in commands. $ enable -a -- List all built-in commands with status. $ enable -s -- List the POSIX.2 built-ins commands. $ enable -n kill -- Disable the built-in kill command. $ enable kill -- Enable the built-in kill command. $ enable -n enable -- Disable the enable command itself. To enableit back, you have exit and start the shell again.

Read: help enable

Advertisements
Tagged with: ,
Posted in Uncategorized
One comment on “GNU/Linux Command – ENABLE
  1. Amit says:

    thanx, the info i got here , about enabling disabled ‘enable’ command, was not even found in help command of linux.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: