Linux Useful commands for zip & unzip files :
To Zip a file :
# zip <Destination File> <Source File>
Example : # zip /home/test/myfile.zip test.txt
zip file will be saved under /home/test location.
To Unzip a file:
#unzip <zip file name>
Example : #unzip myfile.zip
The above command will result us to unzipped file called test.txt.
Hope this will helps you!
To Zip a file :
# zip <Destination File> <Source File>
Example : # zip /home/test/myfile.zip test.txt
zip file will be saved under /home/test location.
To Unzip a file:
#unzip <zip file name>
Example : #unzip myfile.zip
The above command will result us to unzipped file called test.txt.
Hope this will helps you!
No comments:
Post a Comment