Skip to content

isratmir/CodeBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeBook

Code use cases

BASH

Path variables

Incorrect

 PROJECT_DIR = "/home/user/public_html/project";

Correct

 PROJECT_DIR="/home/user/public_html/project";

###Dumping from crontab

 * * * * * mysqldump -u root -p12345 tsusa_prod | gzip > `date +/home/user/Desktop/dump.sql.\%d_\%m_\%y_\%H_\%M_\%S.gz`

About

Code use cases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published