输入cp /etc/skel/.bash_profile /u01/oracle后出现:
cannot stat `/etc/skel/.bash_profile': No such file or directory
是什么回事?
就是说 /etc/skel/ 这个文件夹下没有这个 .bash_profile 这个文件
而这个文件一般在用户文件夹下
如在root目录 或者/home/用户名/ 目录下
而这个文件一般在用户文件夹下
如在root目录 或者/home/用户名/ 目录下
温馨提示:答案为网友推荐,仅供参考
第1个回答 2011-04-27
有.profile这个文件,也有.bashrc,但是没有.bash_profile