tailコマンド

なかなか覚えられない orz

hoge.txtの最後から100行表示する

$ tail -100 hoge.txt

hoge.txtの最後から100行表示して、その後追加ある毎に表示する。

$ tail -100f hoge.txt