This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill $(ps aux | grep '[d]elayed_job' | awk '{print $2}') | |
Credit: | |
http://stackoverflow.com/questions/3510673/find-and-kill-a-process-in-one-line-using-bash-and-regex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scp username@remotecomputer:/path/to/file/you/want/to/copy where/to/put/file/on/laptop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dump: | |
mysqldump -uUSERNAME -pPASSWORD DBTODUMP > /path/to/DUMPFILE.sql | |
Import: | |
mysql -uUSERNAME -pPASSWORD DBTOIMPORTTO < /path/to/DUMPFILE.sql/ |