Author: coderman

[Snippet] Restart Linux Server from the Command Line

Another quick snippet. How to restart a Linux server using only the command line. Start by opening Terminal (Mac) or Putty (Windows) and enter the following, then hit ENTER. /sbin/shutdown -r now Warning: Always make sure the -r is included or the server will simply shutdown. Forcing you to...

Taking the band-aid approach

Starting today (Monday) I am going to be making some pretty serious life changing choices in my work and after-work lifestyles. Okay, a little back story. I have been working on evaluating my working habits, client communications and general daily processes. Okay, so now you are...

[Snippet] Backup and Restore MySQL from command line

Here is how to quickly backup a MySQL database using the command line. Start by opening Terminal (Mac) or Putty (Win) and follow these commands. Backing up a database mysqldump -h hostname -u user --password=password databasename > filename Restoring a database mysql -h hostname -u user --password=password databasename < filename ...