ubuntu用户自定义的命令alias永久生效

cd ~

vi .bash_profile

alias ll='ls -ltr'

. .bash_profile

ps:写在.bashrc终端断开就没了 

posted @ 2018-08-02 10:07  wujf  阅读(653)  评论(0编辑  收藏  举报