You want to create a compressed backup of the users' home
directories. What utility should you use?
Answers were Sorted based on User's Feedback
Answer / ravi
The TAR utility is not used for compressing as told by Mr
Sudeep.It's primary purpose is to bring together all the
required files into one location and it has the extension
".tar".In order to compress this archieve we use tools like
gzip,bzip . Any archieve compressed with gzip has the
extension ".tar.qz".
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / kamal kakkar
I will tell u the command
Tar -czf kk.tar.gz /home/username
If we want to extract
the the command is tar -xzf kk.tar.gz
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sudeep
Utility used for compression on Linux is "tar". Along with
it "bzip" can also be used to compress it further.
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / donald mthombeni
You can use bzip2, it saves a lot of space in your hard disk
even saves time for download
eg Type "bzip2 -cjf dir1.tar.bz2 /home"
If you want to save the compressed directory to a home
dirctory or you may specify the destination you want to save
the bzip2 directory, it will be identified by .bz2 extention
after saving
You will then need to extract it using bunzip2 to extract it
before using it.
Is This Answer Correct ? | 1 Yes | 1 No |
What command can you use to review boot messages?
What text filter can you use to display a binary file in octal numbers?
i want to install XP on RHEL5 with virtualization tell me step by step configuration
i want some basic level enterview questions can any one can help me in this
what is the difference between unix and linux...
Why is it suggested to disable journalism in ext4 filesystem?
Give a Linux shell command to find all files in a directory which contain ip addresses.
How can you see all mounted drives?
How to Trouble shoot performance issue in RHEL administration ? please give to one example
In how many ways linux can be installed n explain th steps involved in installation in any of the method..?
There are 4 network Interfaces, how can we find which one is Primary.
What file should you examine to determine the defined runlevels for your system?