在Linux中用得滚瓜烂熟的命令: tar zxvf file.tar.gz 在Solaris中的 tar 就不认 z 这个参数了,要这么来一下: gzcat filename.tar.gz | tar xvf -