Close Menu
  • Home
  • Questions
Facebook X (Twitter) Instagram
LinuxTutorials.netLinuxTutorials.net
  • Home
  • Debian
  • Ubuntu
  • CentOS
    • Commands
  • Questions
LinuxTutorials.netLinuxTutorials.net

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

January 22, 2024No Comments
DWQA Questions › Category: Linux Essentials › 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/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

Please login or Register to submit your answer

Share. Facebook Twitter Tumblr Email Telegram
Previous ArticleGiven the command tar –cvjf homedirs.tbz /home, which of the following are true? (choose two)
Next Article Which of the following commands will create a zipfile with the contents of your Documents directory?

Ubuntu Server 24.04 Image for VirtualBox (Download & Import)

March 14, 2025

Download and Install Packet Tracer 8.2.2 on Ubuntu (Linux)

May 31, 2024

How to Install PHPMyAdmin latest version 5.2.0 on Ubuntu 22.04 (LEMP Stack)

September 13, 2022

Create New User with sudo Privileges on Ubuntu 22.04/Debian

September 12, 2022
Facebook X (Twitter) Instagram Pinterest
  • Questions
© 2025 LinuxTutorials.net

Type above and press Enter to search. Press Esc to cancel.