Linux basic commands --- enable open shell command

enable

      instruction to disable or enable activation of the internal shell commands. Scope of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.

1 , grammar

      enable [-a]  [-dnps]  [-f filename]  [name ...]

 

2 , the list of options

Options

Explanation

-a

Show all internal shell commands comprises activating and closing

-n

Closes the specified shell command, if not specified, then the show has been closed order

-f

Download the new command shell commands from a file in

-d

Delete the previous command

-p

Show all active shell commands

-s

Output strictly follow posix standard definition of command

 

3 , examples

1) standard command output posix

[root @ localhost ~] # enable -s // display strictly follow posix command standard than -a lot less results options

enable .

enable :

enable break

enable continue

enable eval

enable execen’a

enable exit

enable export

enable readonly

enable return

enable set

enable shift

enable source

enable times

enable trap

enable unset

2) Close the command 

[root@localhost ~]# enable -n break                  //关闭break命令

You have new mail in /var/spool/mail/root

[root@localhost ~]# enable –n                         //显示已经关闭的命令

enable -n break

 

     

      做了一个Linux学习的平台,目前出来一个雏形,各位可以参考使用
      链接: https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ  密码:n7bk

       

Guess you like

Origin www.cnblogs.com/wj78080458/p/11027712.html