tar执行报错tar: You may not specify more than one `-Acdtrux‘ or `--test-label‘ option Try `tar --help‘ o

tar: You may not specify more than one -Acdtrux' or –test-label’ option Try tar --help' or tar

在Linux上解压文件到具体目录时通过命令

 tar -zxvf nginx-1.14.2.tar.gz -c /software/

出现了 tar: You may not specify more than one -Acdtrux’ or–test-label’ option
Try tar --help’ ortar --usage’ for more information.这个问题。

解决方式如下图:
在这里插入图片描述**把-C写成了小写的-c

猜你喜欢

转载自blog.csdn.net/weixin_42648692/article/details/126783026