打开终端提示 "-bash 404:: Command not found"

在安装了某个软件后,每次登录系统都提示 404:: Command not found,抱着事多不如事少的心态我打算重装系统,于是我打开了控制台,重装了刚刚装好的 Centos7,全剧终。

故障排查

排错 A:是否为单个用户的 Shell 故障

一开始以为是单个用户有问题,于是
useradd akanization && cd akanization
结果在用户登录成功的那一刻,依旧提示了404:: Command not found,那么可以认为,这个问题在所有用户中都可能可以复现。

排错 B:按照 Linux 加载环境变量的顺序顺藤摸瓜

文件一个个看过去了,没找到关键字。

排错 C:是否为 Bash 本身有问题

重装了 Bash,没用。

解决问题

# bash -lxe
通过这个命令,发现原来是 Docker-Compose 的锅
噢…

评论

  1. It’s the same supply, solely with crypto, you’re afforded an insanely 14x wagering requirement. Getting up to as} $3,000 over your first 바카라사이트 three deposits is a great way|a good way|an effective way} to construct a roll, and we also love how it’s inclusive of small bankroll players with a low $25 deposit minimal. Playing outdoors bets gives you the best chance of getting a payout, even if that payout isn’t doubtless to|prone to} be huge. We suggest you start off with easy outdoors bets earlier than transferring to more complicated mixture bets as your expertise improves.

    回复删除

发表评论