Linuxコマンドメモ:特定行範囲を出力 投稿日:2024/01/22OS::Linux::コマンド headとtailの合せ技 サンプルコード cat <<EOF | head -3 | tail -2 a b c d e EOF 出力結果 b c