How can I untar a tar.bz file in unix?
问题 I've found tons of pages saying how to untar tar.bz2 files, but how would one untar a tar.bz file? 回答1: use the -j option of tar . tar -xjf /path/to/archive.tar.bz 回答2: According to the man pages for bzip2 If the file does not end in one of the recognised endings, .bz2, .bz, .tbz2 or .tbz, bzip2 complains that it cannot guess the name of the original file, and uses the original name with .out appended. Based on this, I'm guessing that '.bz' is considered a valid suffix for bzip2 compressed