Terminal

Jul
16th
09

System Info in Bash / Terminal

Ever wondered where on earth you are whilst wondering round the shell of a server?
(more…)


Jul
10th
09

Advanced directory listing Bash / Terminal

Ever wondered where everything is in your website?

You know how to cd into your site right? and then use ls to look at the files? How about all the subdirectories and files? How about sending that to a file so you can look at your sites file structure at any time?
(more…)


Jul
10th
09

Deleting a Directory in Bash

To delete a directory and all its contents in Bash, use the recursive flag -r
(more…)


Jul
1st
09

Strip require_once from Zend Framework

Zend Framework has require_once statements throughout the library. These are not needed if using the auto loader that most Zend Framework applications use and have a significant negative performance effect. To strip these statements out of all the files except the/Loader/Autoloader.php file a command line statement is required.
(more…)