LoginSignup
1
0

More than 5 years have passed since last update.

過去に使ったコマンドを探す

Posted at

過去に使ったSSHコマンドで使ったIPを忘れてしまったのでコマンド履歴の調べ方を調べたのですが、すぐに目的のコマンド履歴を見つけられなかったのでメモとして残しておきます

history | grep ssh

これで過去に使ったsshを含むコマンドの一覧が表示される

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0