filename pattern | command to archive | command to extract |
*.Z | compress | uncompress, zcat |
*.gz | gzip | gunzip, gzip -d, zcat |
*.bz2 | bzip2 | bunzip2, bzcat |
*.tar.Z, *.taz | tar+compress | tar(gnu) -zxf |
*.tar.gz, *.tgz | tar(gnu) -zcf | tar(gnu) -zxf |
*.tar.bz2 | tar(gnu+bzip2-patch) -ycf | tar(gnu+bzip2-patch) -yxf |
*.lzh | lha a | lha x |
*.zip | zip | unzip |
その他, zoo, arj, rar(unrar) などがある。 適時 man を参照せよ。