#author("2017-11-09T08:13:42+00:00","default:kazuma","kazuma") [[Linux全般]] *特定の行以降(最初の行を飛ばして)表示させたい場合 [#f032d6a1] $ tail -n +2 hoge.txt *特定の行から特定の行までを表示させたい場合 [#s01cbf74] $ cat test.txt | sed -n '4,8p' *最初と最後の行を表示させる [#r73fdbfb] $ cat test.txt | sed -n -e '1p' -e '$p'