ablog

不器用で落着きのない技術者のメモ

2011-04-14から1日間の記事一覧

dd の出力をパイプで gzip に渡して圧縮する

-bash-3.00$ perl -le 'print for(1...100)'>foo.txt -bash-3.00$ dd if=foo.txt of=bar1.txt bs=1024k count=10 0+1 records in 0+1 records out -bash-3.00$ dd if=foo.txt bs=1024k count=10>bar2.txt 0+1 records in 0+1 records out -bash-3.00$ dd if=…