0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ターミナルで実行した履歴を確認する方法

Posted at

ターミナルで実行した履歴を確認する方法は

$ history

を実行する。

$ history

・
・
・
258  rbenv versions
259  rbenv global 3.0.0
260  rbenv global 3.3.0
261  ruby -
262  ruby -v
263  history

また、オプションで-〇〇(数字)のように任意の数を指定することで、その数だけ履歴を表示することができる。

$ history -20

244  ruby -v
.
.
.
258  rbenv versions
259  rbenv global 3.0.0
260  rbenv global 3.3.0
261  ruby -
262  ruby -v
263  history
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?