# zip -r public_html.zip public_html -x *backup*
# zip -r httpdocs.zip httpdocs --exclude *.svn* --exclude *.git*
# zip -r httpdocs.zip httpdocs --exclude "*.log"
$ zip -r [target_file] [source_file] -x *.git* node_modules/\*
$ zip -r [target_file] [source_file] -x *.git* node_modules/**\*
$ sudo zip -r /var/www/backup/backup$(date +"%Y-%m-%d").zip /var/www/html -x "*cache*" -x "*backups*" -x "*uploads*"
MySQL manages connections to the database server through the use of a socket file, a special…
To remove the .html extension from your urls, you can use the following code in…
Use free/paid SSL certificates https://www.sslforfree.com Enable SSL Module Replace 'default-ssl' with the real site name…
To install some file *.tar.gz, you basically would do: Open a console, and go to…
The chown command has the following syntax: [crayon-67a5ae7457857263341304/] So in your example command it is your primary…
How to Save: To save in nano use "CTRL-O", then "CTRL-X". Tip: Replacing sudo nano with gksudo gedit gives you a…