alias命令
设置别名,便于执行相关命令
设置临时别名:
[root@primary ~]# alias v33='vim /etc/sysconfig/network-scripts/ifcfg-ens33'
[root@primary ~]# v33
[3]+ Stopped vim /etc/sysconfig/network-scripts/ifcfg-ens33
[root@primary ~]#
临时取消别名
unalias v33
设置永久别名
vim ~/.bashrc
#.bashrc
#User specific aliases and functions
alias v33='vim /etc/sysconfig/network-scripts/ifcfg-ens33'
alias rm='rm -i'