Friday 30 August 2013

How to Zip a File in Ubuntu

Step 1
Click the "Dash" icon. Type "terminal" in the search box. Click the "Terminal" application icon.
Step 2
Navigate to the folder containing the file you want to zip using the "cd" command. For instance, if your file is in the "Documents" folder, type "cd Documents" at the command prompt and press the "Enter" key.
Step 3
Type the "zip" command, the name of the zip archive you want to create and the name of the file you want to add to the archive at Ubuntu's terminal command line. For instance, if want to create a zip archive called "worddocs" containing the file "paper.doc" type the following at the terminal command prompt and press the "Enter" key:
zip worddocs paper.doc
Step 4
Type "ls *.zip" at the command prompt and press the "Enter" key to confirm that the zip file has been created.

0 comments:

Post a Comment