$ echo 000 > head.txt
$ mv hoge.txt tail.txt
$ cat head.txt tail.txt > hoge.txt