- SEO Forums
- How To Zip Folders In Linux Command
Learn About Zipping Folders In Linux With A Shell Command You Can Zip Files And Directories , Last Updated: Sun Jul 05, 2020
Sun Nov 15, 2009
today's question is: how to zip folders in linux command?
to zip a directory or a file, is very easy in linux. if you have a Webune Linux Dedicated server with us, be sure to start by login in as root.
after you are signed in as root you can execute the command to zip. lets say for example we want to zip a directory called: my_documents located in /home/myusers so this is how you would do it
first lets change directory to /home/myusers:
now we can create our zip file of my_documents
zip mydocuments.zip my_documents/
now list your file and you will see you have just created mydocuments.zip