Wednesday, August 15, 2012

Copy sebagian file

baca 12 terdepan, baca 5 terakhir, copy ke file
head -c 12 test.txt | tail -c 5 > p6-10.txt

No comments:

Post a Comment