I have completed the task correctly.
sudo tar czf /home/ravi.tar.gz /data/ravi
mv ravi.tar.gz /home
Please help here!
I have completed the task correctly.
sudo tar czf /home/ravi.tar.gz /data/ravi
mv ravi.tar.gz /home
Please help here!
Try to do this:
sudo tar czvf ravi.tar.gz /data/ravi
And you must copy this to /home directory on Storage Server (as I remember from my task).
So:
scp ./ravi.tar.gz [email protected]:/home/
Something like that.
Hope it helps you.
Thanks @bhard it helps!
I understood my mistake. I didnt use ‘z’ option in the tar command before to compress the tar file using gzip compression.