终端命令:sudo gedit ~/.bashrc
修改
export PATH=$PATH:/usr/local/hadoop/sbin:/usr/local/hadoop/bin:/usr/local/hbase/bin:/usr/local/hive/bin
将所需要修改的bin添加在后边即可。
最后source ~/.bashrc刷新
终端命令:sudo gedit ~/.bashrc
修改
export PATH=$PATH:/usr/local/hadoop/sbin:/usr/local/hadoop/bin:/usr/local/hbase/bin:/usr/local/hive/bin
将所需要修改的bin添加在后边即可。
最后source ~/.bashrc刷新