Linux基础命令之alias
作者:互联网
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'
标签:v33,命令,primary,别名,vim,sysconfig,alias,Linux 来源: https://blog.csdn.net/weixin_47194244/article/details/120943642