
私はethtool
を使用してインストールしyum install ethtool
、 を使用して削除しました。これは、 を使用してrpm -e --nodeps ethtool
削除しようとすると、、などの重要な依存関係が多数削除されてしまうためです。ethtool
yum
php
httpd
etc
存在しないはずのコマンドを実行すると、fakecommand
次のメッセージが表示されます。
[root@test sbin]# fakecommand
-bash: fakecommand: command not found
[root@test sbin]#
ethtool
ただし、削除した後に実行しようとすると、次のようにrpm -e --nodeps ethtool
なります:No such file or directory
No such file or directory
[root@test sbin]# ethtool
-bash: /sbin/ethtool: No such file or directory
[root@test sbin]#
答え1
これを修正するには、ssh 接続を再起動するだけです。結局、クライアント側のキャッシュだけの問題でした。