linux自定义别名

alias testCode='cd /home/logs/front' ;

如果配置的关键字未生效可以将命令添加到用户家目录中的文件.bash_profile 

如果找不到文件,可以 find -name  *.bash_profile 

posted @ 2017-01-22 17:48  不像程序员  阅读(219)  评论(0编辑  收藏  举报