當前位置:
首頁 >
liunx -bash:ls:command not found,执行命令总是报找不到
發布時間:2023/12/18
31
豆豆
生活随笔
收集整理的這篇文章主要介紹了
liunx -bash:ls:command not found,执行命令总是报找不到
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
解決辦法:
使用絕對命令vi打開profile
/bin/vi ?/etc/profile
添加:
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
?
簡便方法:
直接執行
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
轉載于:https://www.cnblogs.com/kaola8023/p/7701778.html
總結
以上是生活随笔為你收集整理的liunx -bash:ls:command not found,执行命令总是报找不到的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ab 轻量的压测工具
- 下一篇: js setTimeout 使用方法