Web & Software Developer

Posts Tagged “cheat sheets”

MySQL Command Line Cheat Sheet

These are my most often-used MySQL commands and queries. Connect to MySQL on the command line (replace USERNAME with your own): (You will then be prompted to enter your MySQL password.) MySQL Databases List all databases on the command line: Create a database on the command line: Replace database_name, above, with your name of choice. … Read more →

Linux Chmod Permissions Cheat Sheet

Set the permissions for a file or directory by using the chmod command. Each row has 2 examples, one for setting that permission for a file, and one for a directory named ‘dir’. This works in any linux distro, such as Ubuntu, etc. Permission Command Examples Description rwx rwx rwx chmod 777 filenamechmod -R 777 … Read more →

Git Commands – Quick Reference

These common Git commands are listed here for quick reference. Create a new branch in Git See all branches: Checkout a branch in Git Delete all directories named “_vti_cnf” Add files to be committed: add only files created or modified, not those deleted. Add files to be committed: add only files deleted or modified, not … Read more →