Tag Archives: unix

Using find

When not using ack, my favorite search tool, you can still exclude SVN folders. Here is an example of me looking for a file: $ find . -not \( -name .svn -prune \) -name ‘EosController*’ ./web/models/controllers/EosController.php ./web/models/controllers/EosControllerTest.php This mode of … Continue reading

Posted in Technology | Tagged | 2 Comments

bash functions example

Bradley Taylor (of [Railsmachine](http://railsmachine.com/) hosting fame) said this on [the excellent Mongrel mailing list](http://rubyforge.org/mailman/listinfo/mongrel-users): “Just use these bash functions and put them in your .bashrc:” cluster\_restart () { mongrel\_rails cluster::restart -C /etc/ mongrel\_cluster/$1.yml; } cluster\_start () { mongrel\_rails cluster::start -C … Continue reading

Posted in General | Tagged , | Leave a comment