Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the enable command of linux to turn on or off the shell built-in instruction

Shulou Source: shulou.com Published: 2022-06-02 15:24:23 11月07日 Update

Editor to share with you the use of linux's enable command to start or close shell built-in instructions, I hope you can learn a lot after reading this article, let's discuss it together!

The enable command can be used to turn on or off the built-in instructions for shell. If the file name to be executed is the same as the shell built-in instruction, you can use enable-n to turn off the shell built-in instruction. Without the-n parameter, enable can restart the shutdown instruction.

Syntax format: enable [parameters] [built-in instruction]

Common parameters:

-n closes the specified shell built-in instruction-all displays all shell shutdown and startup instructions

Reference example

Display the shell command:

[root@linuxcool ~] # enable

Show all active internal commands:

[root@linuxcool] # enable-an after reading this article, I believe you have some understanding of using linux's enable command to start or close shell built-in instructions. If you want to know more about it, welcome to follow the industry information channel. Thank you for reading!

Tags: Instructions commands parameters articles same name done examples commonly used documents more format Activation knowledge Industry Grammar Information Information Channel Channel reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi Apple vpn MySQL