原文:配置.bash_profile文件 導致大量命令失效 報錯信息-bash: xxx: command not found

由於在.bash profile配置路徑導致終端部分命令失效 使用 open .bash profile vim .bash profile 都無效 解決方法: 打開訪達,前往文件夾 .bash profile 雙擊.bash profile文件,查看配置路徑,由於配置的Android adb路徑后面沒有添加: PATH導致 添加並保存之后再終端執行source .bash profile 使新 ...

2019-11-08 13:11 0 428 推薦指數:

查看詳情

-bash: .bash_profile: command not found

今天有一同事安裝了ORACLE后,在切換賬號時遇到錯誤提示“-bash: .bash_profile: command not found”。如下所示 [root@GLETestLinux ~]# su - oracle -bash: .bash_profile ...

Thu Jan 22 07:01:00 CST 2015 0 2439
-bash: bash_profile: command not found問題

這個問題一般就是.bash_profile 文件內容錯誤,里面內容沒加注釋之內的,vi .bash_profile打開文件檢查一下,然后:wq!保存退出 我的錯誤就是紅圈處沒有注釋造成的 ...

Thu Nov 12 19:27:00 CST 2020 0 531
bash_profile 配置

1、打開Terminal(終端) 2、輸入:vi ~/.bash_profile 3、設置PATH:export PATH=/mongodb/bin:$PATH 4、輸入::wq //保存並退出vi 5、修改立即生效:source ~/.bash_profile ...

Sat Apr 20 19:45:00 CST 2019 0 6338
.bash_profile配置文件

.bash_profile配置文件 手動刪掉淘汰了的python2,用command line too ...

Tue Dec 29 05:52:00 CST 2020 0 465
Mac配置.bash_profile,重啟終端后配置失效

場景 在Mac中使用mongodb,一般都要在.bash_profile配置一下環境變量,后面使用會比較方便一點。遇到的問題狀況是:配置.bash_profile后,source了一下,然后啟動了mongodb,這時又新建了一個終端窗口去連接數據庫,去執行mongo命令,提醒: 原因 ...

Tue Dec 10 21:31:00 CST 2019 0 2018
bash_profile 配置生效

1、打開Terminal(終端) 2、輸入:vi ~/.bash_profile 3、設置PATH:export PATH=/mongodb/bin:$PATH 4、輸入::wq //保存並退出vi 5、修改立即生效:source ~/.bash_profile 6、查看環境變量 ...

Tue Oct 12 16:46:00 CST 2021 0 3948
bash:xxx:command not found

前幾天在centos6.0上配好了oracle 10g並且能夠執行oracle相關命令,但是今天准備往oracle里倒數據時,執行sqlplus 出現bashcommand not found 然后google了下,是/usr/bin找不到sqlplus命令 ...

Thu Dec 19 18:46:00 CST 2013 0 2731
linux命令存放 bash: xxx command not found

參考資料:http://blog.sina.com.cn/s/blog_688077cf01013qrk.html 提示:bash: xxx command not found 首先就要考慮root 的$PATH里是否已經包含了這些環境變量。主要是這四個:/bin , /usr ...

Tue Jun 07 02:39:00 CST 2016 0 5632
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM