原文:-bash: .bash_profile: command not found

今天有一同事安裝了ORACLE后,在切換賬號時遇到錯誤提示 bash: .bash profile: command not found 。如下所示 root GLETestLinux su oracle bash: .bash profile: command not found oracle GLETestLinux more .bash profile .bash profile Get ...

2015-01-21 23:01 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 和.zshrc

說說配置環境變量的方法: vim ~/.bash_profile 進入配置文件 添加路徑例如: PATH=$PATH:\/Users/linyue/mywork/script:\ 保存后退出,source ~/.bash_profile,執行生效的指令 由於我每次關閉 ...

Wed Jun 12 18:53:00 CST 2019 0 2076
.bash_profile 和.zshrc

說說配置環境變量的方法: vim ~/.bash_profile 進入配置文件 添加路徑例如: PATH=$PATH:\/Users/linyue/mywork/script:\ 保存后退出,source ~/.bash_profile,執行生效的指令 由於我每次關閉 ...

Wed Nov 03 18:43:00 CST 2021 0 8145
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 加載

1.Debian默認的shell是Bash,   1.1 命令行 和 ssh 登錄 ,首先讀入 /etc/profile,這是對所有用戶都有效的配置;然后依次尋找下面三個文件,這是針對當前用戶的配置。    ~/.bash_profile    ~/.bash ...

Tue Nov 07 02:22:00 CST 2017 0 2122
linux .bash_profile在哪里

全局的是在/etc目錄下(/etc/profile)用戶個人的是在用戶的家目錄下(~/.profile) 查看: 全局:cat /etc/profile 個人:cat ~/.bash_profile 編輯: 全局:vi /etc/profile ...

Wed Jun 17 00:38:00 CST 2020 0 11483
.bash_profile does not exist

localhost:test jerry$ open .bash_profile The file /Users/je/Desktop/test/.bash_profile does not exist. localhost:test je$ open .bash_profile ...

Fri Jan 25 05:49:00 CST 2019 0 2728
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM