假设有一个tgz的文件,为test.tgz。可以使用如下命令进行解压: tar -zxf test.tgz 转自:http://bbs.chinaunix.net/thread-643096-1-1.html