Linux tail・cat

cat

ファイルを指定することで、そのファイルの中身を表示させる。

cat ファイル名




tail

テキストファイルの末尾のn行を抜き出す。

tail -n 行数 ファイル名