LoginSignup
2
0

More than 5 years have passed since last update.

ログファイルを漁る時にlsコマンドに渡すオプション

Posted at

教えてもらったものをメモに残しておく
ls -hltr

  • l・・・ファイル情報を詳細に表示
  • t・・・更新時間でソート
  • h・・・人間に読みやすい形に(ex. 1000→1kb)
  • r・・・ソートを逆から表示

出力結果の更新日、サイズなどを見てどのファイルに自分が欲しい情報が書かれているか目星をつけたりする

2
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
2
0