Linux コマンド tail 末尾(テイル、しっぽ)を表示する
ログファイルなど、かなり行数がとても多いファイルの 末尾(テイル、しっぽ)を表示する
デフォルトでは10行表示
[root@test logs]# tail xxxx.com-access_log
-nオプションで表示行数を指定(100行の場合)
[root@test logs]# tail -n 100 xxxx.com-access_log
ログファイルなど、かなり行数がとても多いファイルの 末尾(テイル、しっぽ)を表示する
デフォルトでは10行表示
[root@test logs]# tail xxxx.com-access_log
-nオプションで表示行数を指定(100行の場合)
[root@test logs]# tail -n 100 xxxx.com-access_log