Linux全般
$ tail -n +2 hoge.txt
$ cat test.txt | sed -n '4,8p'
$ cat test.txt | sed -n -e '1p' -e '$p'