#ls -/bin/sh: ls: not found失效的問題
#ls
-/bin/sh: ls: not found
#vi /etc/profile
-/bin/sh: vi: not found
#gedit /etc/profile
-/bin/sh: gedit: not found
在linux開發板上出現了以上問題——因為之前這些命令都是OK的,但是因為修改了/etc/profile裡面的內容,然後被我source之後就失效了,所以肯定是我修改出現的問題。
於是,我利用以下命令,就解決了:
PATH=$PATH:/bin
相關推薦
#ls -/bin/sh: ls: not found失效的問題
技術標籤:linuxlinux #ls -/bin/sh: ls: not found #vi /etc/profile -/bin/sh: vi: not found #gedit /etc/profile
docker alpine中遇到 sh: ./go: not found
在golang官網下載原始檔,解壓,並新增到PATH。 ~ # tar -C /usr/local/ -xzvf go1.14.4.linux-amd64.tar.gz
php:*-alpine のdocker build make: /bin/sh: Operation not permitted make: *** [Makefile:209: redis.lo] Error 127 ERROR: `make' failed error: 'redis' does not exist
[解決済み] php:*-alpine のdocker buildで、`make: /bin/sh: Operation not permitted` エラーが発生する
/home/parallels/ubuntu_project/kafka1/bin/kafka-run-class.sh: line 318: exec: java: not found
技術標籤:ubuntu伺服器kafka KAFKA啟動報錯處理:/OPT/MODULE/KAFKA/BIN/KAFKA-RUN-CLASS.SH: 第 258 行:EXEC: JAVA: 未找到
docker 安裝mysql 啟動報錯 mysql-bin.index not found (Errcode: 13 - Permission denied)
報錯資訊 類似下面這種情況: /mysql/bin/mysqld: File \'./mysql-bin.index\' not found (Errcode: 13 - Permission denied)
contos安裝nvm報錯.nvm/nvm.sh: line 1: 400:: command not found
技術標籤:linuxgit contos安裝nvm: 安裝失敗,因為沒有安裝git 問題描述: 報錯:/home/jkt/.nvm/nvm.sh: line 1: 400:: command not found
yum 突然失效 各種404 error [Errno 14] HTTP Error 404 - Not Found)
問題描述: yum install ** 失敗 [Errno 14] HTTP Error 404 - Not FoundTrying other mirror. 可以直接更新源快取:
Mac zsh: command not found zsh 所有命令在終端失效
技術標籤:mac終端shell 原文地址:https://blog.csdn.net/u012762986/article/details/100533561
avn配置失效:command not found: nvm
技術標籤:問題解決npmnode avn配置失效:command not found: nvm avn activated 12.16.3 (avn-nvm v12.16.3)
【轉載】Linux環境安裝mysql遇到Redirecting to /bin/systemctl start mysqld.service Failed to start mysqld.service: Unit not found.
使用service mysqld start在CentOS7中啟動mysql報錯: 在提及該錯誤前,我們先提到一個mysql發展及當期背景:
VScode編譯C++ 標頭檔案顯示not found的問題
一直用codeblocks,想試試vscode,結果這個問題給我弄懵逼了。一開始以為是iostream這個標頭檔案not found,後來發現第一個標頭檔案都會這樣顯示,放到後面就不會了,然而,光這一個顯示not found(雖然並不影響編譯)
【轉載】 [VS2008] [.NET 3.5] 如何解決 The imported project "C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets" was not found
重新安裝或者修復 NETCFv35PowerToys https://download.microsoft.com/download/f/a/c/fac1342d-044d-4d88-ae97-d278ef697064/NETCFv35PowerToys.msi
cygwin很多命令顯示command not found的解決辦法
cygwin很多命令顯示command not found的解決辦法 修改cygwin.BAT檔案如下 @echo offC:set CYGWIN=tty notitle glob
windows10電腦出現file not found如何解決
最近有windows10系統使用者反映說電腦在使用過程中,突然提示file not found,該怎麼辦呢,經過分析這個意思是檔案未找到,可能是系統內部出現錯誤引起,這就隨小編一起來看看windows10電腦出現file not found的具體
win10電腦安裝網絡卡失敗提示“The Realtek Network Controller was not found……”怎麼辦
有win10旗艦版系統使用者在電腦中安裝網絡卡的時候,遇到了提示“The Realtek Network Controller was not found……”的情況,導致網絡卡安裝失敗,該怎麼辦呢,本文就給大家帶來具體的解決方法。
thinkphp5.0報錯Class 'think\worker\Server' not found問題解決
環境win7thinkphp 5.0think-worker 1.0.* 今天在thinkphp 5.0上使用workman 參照官網教程步驟如下
git bash中提示 bash:node: command not found
昨天小夥伴私信,git bash以及windows 的cmd命令列下均無法執行node npm。 究其原因是環境變數的問題。解決步驟:
報錯資訊ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by............)
報錯資訊ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9\' not found (required by............)
ImportError: /lib64/libm.so.6: version `CXXAB_1.3.8.' not found (required by /usr/local/python37/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
問題背景 使用在AI專案中,由於需要用到tensorflow,scipy,sklearn等這些庫,所以需要libstdc++庫。
/bin/sh、/bin/bash、/bin/dash、/bin/rbash的區別
/bin/sh、/bin/bash、/bin/dash、/bin/rbash的區別bash檢視系統可以使用的shell種類檢視預設shellsh把sh改為指向bash(修改預設shell)dash把sh改為指dash(修改預設shell)TOC