我正在使用 SSH 连接远程服务器。我做了一些安装并想测试它们是否在重新启动后启动。我用 sudo reboot 重新启动了机器。SSH 会话中断。我重新连接。登录后,我输入的每个命令,无论是否有效,都会返回以下输出。
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: tty: command not found
-bash: uname: command not found
-bash: whoami: command not found
-bash: sed: command not found
-bash: logger: command not found
该怎么做才能摆脱这种情况?
谢谢。