.zshrc里面添加 source .bash_profile,也可以找到adb命令
/home/oracle 隐藏文件.bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/b
原创
2016-04-01 19:50:15
605阅读
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$H
原创
2010-12-10 10:56:34
1693阅读
原创
2022-09-20 20:19:45
183阅读
每个用户都可使用 ~/.bash_profile 文件输入专用于自己使用的 shell 信息,~ 表示用户的家目录,如 root 用户就是 /root/.bash_profile当用户登录 shell 时就执行该文件,该文件仅仅执行一次,默认情况下,该文件设置一些环境变量,执行用户的 .bashrc
转载
2019-02-01 10:06:00
622阅读
.bash_profile 是用户登陆时的环境变量,如PATH等,的设置文件。当用户login s
先要配置jdk步骤大概如下先解压Hadoop的安装包,然后在 .bash_profile文件中进行修改该安装包的环境变量目录。(.bash_profile是最重要的一个配置文件,它在用户每次登录系统时被读取,里面的所有命令都会被bash执行)同时将相应的bin也加入到path中。然后就是对一些核心文件进行配置。配置这些文件后,格式化namenode,然后就可以启动集群了。启动完后,基本也就完成了。
/etc/profile 为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行,并从/etc/profile.d目录的配置文件中搜集shell的设置,etc/profile中设定的变量的可以作用于任何用户,而~/.bashrc等中设定的变量只能继承/etc/profile中的
原创
2022-01-04 15:32:00
233阅读
[oracle@redhat4 ~]$ vi .bash_profile # .bash_profile # Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi # User specific environment and startup programs PATH=$PATH:$HOME/bin...
原创
2021-07-21 11:43:53
456阅读
今天有一同事安装了ORACLE后,在切换账号时遇到错误提示“-bash: .bash_profile: command not found”。如下所示 [root@GLETestLinux ~]# su - oracle-bash: .bash_profile: command not found[oracle@GLETestLinux ~]$
原创
2021-08-23 09:48:34
581阅读
使profile生效的方法1.source /etc/profile使用.bash_profile生效的方法1 . .bash_profile2 source .bash_profile3 exec bash --login
原创
2014-07-09 21:59:13
3049阅读
转载自:http://blog.163.com/wang_hai_fei/blog/static/309020312008728333912/
/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.
并从/etc/profile.d目录的配置文件中搜集shell的设置.
/etc/bashrc:为每一个运行bash shell的用户执行此文
转载
2013-02-12 22:47:05
514阅读
.bash_profile和.bashrc的区别(如何设置生效)/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置./etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取.~/.bash_profile:每个用户都可使用该
转载
精选
2015-12-23 11:01:13
926阅读
/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置./etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取.~/.bash_profile:
转载
2021-08-05 16:17:25
592阅读
/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置./etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取.~/.bash_profile:每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该文件仅仅
转载
精选
2014-08-18 00:02:12
450阅读
etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置./etc/bashrc:为每一个运行bash shell的用户执行此文件.当bash
shell被打开时,该文件被读取.如果你想对所有的使用bash的用户修改某个配置并在以后打开的bash都生效的话可以修改这个文件,修改这个文件不用重
转载
精选
2015-06-04 00:06:33
10000+阅读
bash_profile和.bashrc的什么区别及启动过程 .bash_profile和.bashrc的什么区别bash_profile和.bashrc的什么区别 --------------------------------------------------------------------------------/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次
转载
精选
2014-05-28 16:25:32
334阅读
[oracle@localhost ~]$ cat ~/.bash_profile # .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup p
原创
2014-06-10 19:52:20
2392阅读
MAC打开.bash_profile启动终端Terminal进入当前用户的home目录输入cd~创建.bash_profile输入touch.bash_profile编辑.bash_profile文件输入open-e.bash_profile保存文件,关闭.bash_profile更新刚配置的环境变量输入source.bash_profile
原创
2019-05-16 08:18:15
5774阅读