Linux
Bash: Command Line Shortcuts
Mike Milano — January 30, 2012 - 1:15am
Here's a few shortcuts that may increase your productivity in the command line.
Navigate around the current command
ctrl+a -- Go to the beginning of the line.
ctrl+e -- Go to the end of the line.
ctrl+w -- Delete last word.
ctrl+k -- Delete everything after the cursor.
esc+f -- Move cursor forward one word.
esc+b -- Move cursor back one word.
Recall the last command with !!
Fixing file system permissions
Mike Milano — June 7, 2011 - 4:51pm
Have you ever shelled into a file system where a bunch of files were executable that should not be? Or maybe permissions are generally a mess?
Typically within a website file system, files should be 644 (owner read/write, group & all just read) and directories should be 755 (owner read/write/execute, group and all just read/execute).
If you don't have any special needs for individual files to be executable, or you just want to start fresh, you can use this method.
Zend Server CE, Free LAMP Stack for Mac/Linux/Windows
Mike Milano — August 24, 2009 - 8:49am
I recently installed Zend Server CE on my MacBook Pro to check out the performance of the "partial page" caching Zend offers in their platform.
I was pleasantly surprised how simple it was to get up and running. Zend Platform CE installs its own version of Apache, PHP. If you're installing it on Windows or Mac, it will also install MySQL.
Everything is configured and controlled in your zend path. By default on the Mac it is /usr/local/zend.
