close

 常用指令

gzip-壓縮


1.先建立foo.txt 文字檔

2.執行gzip指令後會把foo.txt檔壓縮成foo.txt.gz檔,同時檔案容量也會縮小。

3.執行gunzip指令或gzip -d foo.txt.gz指令會把foo.txt.gz解壓縮回原本的檔案foo.txt。


bzip2-壓縮

 


1.先建立foo.txt文字檔

2.執行bzip2指令後會把foo.txt檔壓縮成foo.txt.bz2檔,同時檔案容量也會縮小。

3.執行bunzip2指令或bzip2 -d foo.txt.bz2指令會把foo.txt.bz2解壓縮回原本的檔案foo.txt。

arrow
arrow
    全站熱搜

    風之浪人 發表在 痞客邦 留言(0) 人氣()