Can anyone help me out with compressing multiple files.
I have multiple files in directory , I have to compress these into a single file,
I tried using
gzip -r outfile.gz file1 file2 file3.
Thank you very much for your quick reply.
I have tried this command
here it is compressing the two files in to a single file,
If we unzip this file it is chowing as a single file ,
instead can this be upzipped in to two files.
Create a tar file: tar cvf <tar.filename> <files.to.tar.up>
Extract a tar file: tar xvf <tar.filename>
Check the contents of a tar file: tar tvf <tar.filename>