原文:source /etc/profile報錯-bash: id:command is not found

由於誤操作導致 source etc profile 報錯 bash: id:command is not found 此時,linux下很多命令到不能能用,包括vi ls 等... 可以使用 export PATH usr local sbin: usr local bin: sbin: bin: usr sbin: usr bin: root bin 重新啟用這些命令 如果 etc profi ...

2016-08-31 11:40 0 2539 推薦指數:

查看詳情

Linux執行source /etc/profile報錯“:command not found

修改完 /etc/profile中的內容后,執行“立即生效”命令 “source /etc/profile報錯: :command not foundcommand not foundcommand not found 解決方法: 執行如下命令(兩種方式): 1. ...

Thu Oct 25 03:42:00 CST 2018 0 3840
-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: locate: command not found

-bash: locate: command not found 查看某些文件在哪些地方,需要用到 locate 命令 但是在安裝 yum install locate 會報以下錯誤: -bash: locate: command not found 正確的安裝命令: yum ...

Sun Jun 03 19:23:00 CST 2018 0 3437
報錯bash: jps: command not found

運行xcall.sh jps時提示,報錯bash: jps: command not found” 檢查如下: 已經安裝jdk,配置好jdk的環境變量,且本機執行jps命令沒有問題! 解決辦法: 1.切換root用戶 su root ...

Tue Dec 10 01:35:00 CST 2019 0 706
git bash 報錯bash: *: command not found

默認安裝的git bash某些功能是沒有的,比如zip,在git bash下執行zip和unzip命令時會報錯命令找不到,但值得慶幸的是,我們可以安裝我們需要的命令,以下以zip命令為例,步驟如下: 1.打開https://sourceforge.net/projects/gnuwin32 ...

Tue Apr 24 02:25:00 CST 2018 2 13738
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM