linux使用技巧
- bash命令补全
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15[root@dev ~]# yum -y install bash-completion
[root@dev ~]# systemctl {双击TAB键}
...
condrestart hybrid-sleep poweroff start
condstop is-active preset status
daemon-reexec is-enabled reboot stop
...
[root@dev ~]# systemctl status {双击TAB键}
Display all 288 possibilities? (y or n)
arp-ethers.service
auditd.service
avahi-daemon.service
...