(单选题)
若要将当前目录中的myfile.txt文件压缩成myfile.txt.tar.gz,则实现的命令为()。
Atar–cvfmyfile.txt myfile.txt.tar.gz
Btar–zcvfmyfile.txt myfile.txt.tar.gz
Ctar–zcvfmyfile.txt.tar.gz myfile.txt
Dtar–cvfmyfile.txt.tar.gz myfile.txt
正确答案
答案解析
略
Atar–cvfmyfile.txt myfile.txt.tar.gz
Btar–zcvfmyfile.txt myfile.txt.tar.gz
Ctar–zcvfmyfile.txt.tar.gz myfile.txt
Dtar–cvfmyfile.txt.tar.gz myfile.txt