Fork me on GitHub

Tag: command line

Tag Archives: command line

View man files as PDF

Sometimes viewing man pages on the command line is less than convenient. Ok, its always inconvenient. But there’s a better way: convert the man page to pdf and view it with Preview. Add this to a file, I named mine manv, put it in a safe place (I keep a /bin folder in my home […]

January 18, 2011 | Computers | 1 comment

Quickly validate PHP files

Ever needed to quickly scan a directory full of PHP files for syntax errors? You can do this quickly on a *nix command line with:  find . -type f -name \*.php -exec php -l {} \;

June 26, 2009 | Computers, PHP Scripting | 3 comments

Client side pre- and post-svn hooks with Unix Aliases

Its probably nothing new but I came up with a way to do client side post- or pre-svn actions. Its nothing revolutionary but has already come in handy. The script is *nix only (though I don’t see why the same process wouldn’t work on Windows if it supports command line aliases like *nix does). I […]

April 23, 2009 | Code, Computers | 1 comment

Getting to know vim

Since OS X brought Unix into my everyday life I’ve been fascinated by command line text editing. Mainly for remote tweaks and working directly on the server. However, the more I learn about vim the more I like it… vim is one powerful little editor. This is actually my second exploration into vim but I’ve […]

August 2, 2005 | PHP Scripting | 3 comments