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' ortar

在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


版权声明:本文为weixin_42648692原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。