Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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

Source by phoenixnap.com #
 
PREVIOUS NEXT
Tagged: #zip #file #terminal
ADD COMMENT
Topic
Name
3+2 =