How to make tar ,GZ AND ZIP file.
tar -zcvf index.tar.gz index.html
gzip -c file1 > foo.gz
How to make UNtar ,UNGZ AND UNZIP file.
tar -zxvf index.tar.gz
gunzip filename.gz
unzip filename.zip
create:
tar -cvf mystuff.tar mystuff/
tar -czvf mystuff.tgz mystuff/
extracting:
tar -xvf mystuff.tar
tar -xzvf mystuff.tgz
testing/viewing:
tar -tvf mystuff.tar
tar -tzvf mystuff.tgz
Author Widget
Advertisement
Latest Blog
Categories
- aws
- Basic Linux
- Blogger
- Computer
- cPanel
- DDOS
- Drupal
- Economy
- Email Marketing Series
- Email problems
- Entertainment
- Error and solution
- Fashion
- Featured
- Food
- ftp issues
- How to
- htaccess
- Installation
- Joomla
- Knowledge
- Linux Commands
- magento
- ModSecurity
- mysql
- Nature
- Network
- PHP
- Plesk
- Questions And Answers
- ruby and rails
- security
- Shell Programming and Scripting
- Sports
- Technology
- Tomcat
- Travel
- Uncategorized
- Wordpress