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 is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?
How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?
why you are using nis server
what is the gate of ftp server in redhat linux?
How to build new filesystem ? and what is irig file system?
how do you configure linux system as a router?
Give a Linux shell command to find all files in a directory which contain ip addresses.
what restrict telnet for root itself but allow for other user
there are many IPC mechanisms available in Linux ? Which one is best to use and when ?
How to check all open ports on linux machine and block unsed ports????????
what is the difference between NIS and DNS...?
How to convert an IP address to a Domain name using Unix ?