XanderCheung
热度 4918 评论 0 赞 0
修改.bashrc文件
vim ~/.bashrc
添加:
alias homels='cd /home/;ls'
:wq保存输入homels就相当于执行了两条命令
:wq
homels
cd /home/ ls
cd /home/
ls