[主观题]

将/home/stud1/wang目录做归档压缩,压缩后生成wang.tar.gz文件,并将此文件保存到/home目录下,实现此任务的tar命令格式 tar zcvf /home/wang.tar.gz /home/stud1/wang 。

参考答案与解析:

相关试题

在/home/stud1/wang目录下有一文件file,使用()可实现在后台执

[单选题]在/home/stud1/wang目录下有一文件file,使用()可实现在后台执行命令,此命令将file文件中的内容输出到file.copy文件中。A . cat file>filE.copyB . cat filefilE.copyC . &cat filefilE.copyD . &cat file>filE.copy

  • 查看答案
  • 已知某用户stud1,其用户目录为/home/stud1。如果当前目录为/hom

    [单选题]已知某用户stud1,其用户目录为/home/stud1。如果当前目录为/home,进入目录/home/stud1/test的命令是()。A .cd testB .cd/stud1/testC .cd stud1/testD .cd home

  • 查看答案
  • Wang ___ ___.

    Wang ___ ___.A. Oh, no. Let's notB. I'd rather stay at homeC. I'm glad to, but I

  • 查看答案
  • Wang (guest): That was a delicious dinne

    [单选题]Wang (guest): That was a delicious dinner. Mrs. Willis (hostess): ______. Would you like to go to the living room now? It's more comfortable there.A.Thank you. Don't mention itB.You're welcomeC.Not so delicious, I'm afraidD.I'm glad you enjoyed

  • 查看答案
  • Wang ____ basketball every day.

    Wang ____ basketball every day.A. playedB. playsC. playD. has played

  • 查看答案
  • I think Wang Hao will be the winner .

    I think Wang Hao will be the winner .A. I hope soB. I don’t think soC. It’s a pi

  • 查看答案
  • 为了将当前目录下的归档文件myftp.tgz解压缩到/tmp目录下,用户可以使用

    [单选题]为了将当前目录下的归档文件myftp.tgz解压缩到/tmp目录下,用户可以使用命令()A . ta rxvzf myftp.tgz–C/tmpB . tar xvzf myftp.tgz–R/tmpC . a rvzf myftp.tgz–X/tmpD . tar xvzf myftp.tgz/tm

  • 查看答案
  • Many-|||-households suffered from poverty,and Wang Wancai's family is one of them.-|||-Wang reli

    Many-|||-households suffered from poverty,and Wang Wancais family is one of them

  • 查看答案
  • Miss Wang wanted to know ______for the film.

    [单选题]Miss Wang wanted to know ______for the film.A.why was he lateB.why is he la

  • 查看答案
  • Miss Wang wanted to know ______for the film.

    [单选题]Miss Wang wanted to know ______for the film.A.why was he lateB.why is he la

  • 查看答案