You archived your users’ directories into a file called backup.tar.gz. You then view the archive and see the filenames follow this convention: home/username/somefile

You archived your users’ directories into a file called backup.tar.gz. You then view the archive and see the filenames follow this convention: home/username/somefileCategory: Linux EssentialsAuthor "LinuxQuestions"You archived your users’ directories into a file called backup.tar.gz. You then view the archive and see the filenames follow this convention: home/username/somefile
Linux Questions Staff asked 1 year ago

You archived your users’ directories into a file called backup.tar.gz. You then view the archive and see the filenames follow this convention:
home/username/somefile

How will you extract just the files for the user called fred?

  • tar –tzf /home/fred < backup.tar.gz
  • tar –tjf backup.tar.gz /home/fred
  • tar –xjf backup.tar.gz home/fred/
  • tar –xzf backup.tar.gz home/fred/
  • tar –xzf backup.tar.gz fred

About the author