Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

terminal zip

# to compress
tar -zcvf archive_name.tar.gz folder_to_compress
# to extract
tar -zxvf archive_name.tar.gz

# the "v" flag is for verbose and is not required
Comment

zip a file terminal

gzip test.txt
Comment

generate zip file terminal

zip -r directory.zip directory
Comment

zip file in terminal

echo "<h1><center> This will bve zipped</h2></center>" > index.html # create file 
cat index.html # just confirming the file is created and has content in it
zip index.zip index.html # this command will creaed a zipped version on the file index.html

Comment

PREVIOUS NEXT
Code Example
Shell :: forever command 
Shell :: nginx server missing webmin 
Shell :: Result Directory was not created cts android log reports 
Shell :: git: svn download a single folder from github repository ( such as : image folder ) on mac 
Shell :: linux audio auto mute issue 
Shell :: how to stay opened ubuntu run in terminal 
Shell :: how know snap package size 
Shell :: wget every ipv4 
Shell :: pipeline in shell 
Shell :: How to run test with very_good_cli in flutter 
Shell :: bash store directory list array 
Shell :: rsync id_rsa 
Shell :: ubuntu libre office repo 
Shell :: sed bash change line 
Shell :: git pull remote branch that does not exist locally 
Shell :: Shebang!!!!--initializes program/code in Linux/Bash 
Shell :: linux pdf page thumbnail 
Shell :: grep on result of curl 
Shell :: run task in background ec2 
Shell :: bash directorry permision if 
Shell :: command to ceck number of lines or words in a file 
Shell :: Payload create wireless network association (auto connect) pineapple 
Shell :: git switch to specific branch name 
Shell :: command line see whole file contents 
Shell :: odoo web/static 404 
Shell :: fish function to change php version .env 
Shell :: check number of bridges available jitsi 
Shell :: Install pkgsrc (FreeBSD) package manager 
Shell :: Adding the daily DevCard to your GitHub profile 
Shell :: ssh configuration packet tracer 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =