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
この状況を取り除くために何をすべきか?
ありがとう。