alias //自定义命令="Linux命令" alias //查看当前系统里所有的自定义命令 unalias //自定义命令 //删除自定义命令 注意,如果服务器重启的话,就会消失,如果想长期保存,请编辑.bashrc文件放入其中 [root@localhost ~]# cd ~ [root@localhost ~]# ls -a . anaconda-ks.cfg .bash_logout .bashrc .h…
1.启用终端颜色 修改配置文件 $ vim .bash_profile #enables colorin the terminal bash shell export export CLICOLOR=1 #sets up thecolor scheme for list export export LSCOLORS=gxfxcxdxbxegedabagacad #sets up theprompt color (currently a green similar to linux termina…