58

命令补全和别名-菜鸟的成长之路

 6 years ago
source link: http://blog.51cto.com/12777709/2084035
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
tab键,敲一下,敲两下Centos6支持命令补全,但是不支持参数补全在Centos7里不光支持命令补全,还支持参数补全。默认是不支持的,我们需要安装软件#yuminstall-ybash-completion安装好后,需要重启系统,才能生效alias创建别名aliasabc=‘cat/etc/password’取消别名unaliasabc这样的话只是零时的,如果想永久性需要添加到配置文件当中~/

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK