Professional Documents
Culture Documents
Lecture 18 - Zip, Unzip
Lecture 18 - Zip, Unzip
------------------------------------------->
syntax--->
--------------------------------------------
///---> see contant on redhat.tar/// ( for see contant, extract the folder)
# tar -xvf redhat.tar ---> extract on current location
# ls
# tar -tvf redhat.tar --> listing only not extract
# tar - xvf redhat.tar -C /tmp/ --> extract on tmp DIR
# ls
# ls /tmp/
// extract -->
# ls
# rm -rf etc/ ---> delete etc folder
# tar -zxvf redhat.tar.gz
# rm -rf etc/
# ls
# tar -jxvf redhat.tar.bz2
# rm -rf etc/
# ls