There is no ~/.bashrc to setup user $PATH
来源:互联网 发布:蜘蛛纸牌知乎 编辑:程序博客网 时间:2024/05/17 22:22
After add user in Ubuntu, there is no ~/.bashrc under user home for me to setup my own user $PATH.
1. man bash
When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.
2.
#touch ~/.bash_profile
#vim ~/.bash_profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
3.
#touch ~/.bashrc
#vim ~/.bashrc
export PATH=$PATH:....
- There is no ~/.bashrc to setup user $PATH
- There is no Action mapped for namespace [/] and action name [user!add] associated with context path
- There is no royal road to science....
- There is no end to progress
- IOS error "There is no SDK with the or path...."
- There is no item category assigned to account xxxxxxx
- There is no ‘Animation’ attached to the “Player” game object
- There is no ‘Animation’ attached to the “Player” game object
- MySQL Workbench there is no connection to the mySQL Server
- HTTP Status 404 - There is no Action mapped for namespace [/user] and action name [>] associated wit
- There is no statement named user.insertOneUser in this SqlMap 的异常处理
- Cause: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'user
- There is no getter for property named 'value' in 'class com.hl.myabtis.first.beas.User'
- There is no getter for property named 'user' in 'class com.gao.model.Message
- iPhone: There is no SDK with the name or path iphoneos XXX
- iPhone: There is no SDK with the name or path 'iphoneos3.0'
- iPhone: There is no SDK with the name or path iphoneos XXX
- There is no Action mapped for namespace [/] and action name [hello] associated with context path [/
- 定位软件收录
- JSP预编译(程序式预编译)
- 浩辰CAD参考图剪辑编辑
- git fail, and what to do????
- 动态包(bpl)的一个窗体源代码
- There is no ~/.bashrc to setup user $PATH
- 在Javascript中使用面向对象的编程
- JS、CSS压缩
- Dreamweaver8加载站点缓存时卡死,解决办法:
- 深入研究移植u-boot.
- Dom4j下载及使用Dom4j读写XML简介
- 快速傅里叶变换-快速傅里叶变换
- 图片处理
- Fedora14添加上海交大,网易的更新源