OS X Network Location Support From The Command Line

Wednesday, May 11, 2005 at 05:50 PM

How to get command line apps to respect the OS X network location. A neat little hack exploiting symlinks and $0.

git-sh(1) - A customized bash shell suitable for git work.

Sunday, August 03, 2008 at 04:23 AM / github.com

I threw this together a few weeks ago and now I'm not sure how I lived without it now. I know you people have cool bash/git hacks sitting in your ~/.bashrc -- hand them over.

Git Commits That Need to be Pushed

Tuesday, May 27, 2008 at 11:25 PM / justinfrench.com

Justin French: alias push?='git cherry -v origin' -- beautiful.

BashPitfalls

Sunday, March 16, 2008 at 03:29 PM / wooledge.org:8000

Most of these are relevant to POSIX sh(1). This one gets me every time: echo <<EOF :)

Csh Programming Considered Harmful

Monday, February 25, 2008 at 01:06 PM / faqs.org

Uggghhh. I just spent 30 minutes hunting some arcane tcsh bug caused by coreutils dircolors. This is my revenge. I don't even know I had any csh code running on this machine. It turns out that MacOS X's /usr/bin/which is implemented in csh. Dumb.

In Unix, what do some obscurely named commands stand for?

Thursday, January 17, 2008 at 07:21 AM / kb.iu.edu

Dennis Ritchie: "There was a facility that would execute a bunch of commands stored in a file; it was called runcom for 'run commands', and the file began to be called 'a runcom'. rc in Unix is a fossil from that usage."

DTerm - A command line anywhere and everywhere

Sunday, January 13, 2008 at 05:16 AM / decimus.net

Payware GUI shell thingy for MacOS. This is not a QuickSilver/Launchbar clone. It's more like a magical bash interpreter that knows things about what's happening in various Mac GUI applications (like Finder, Safari, etc).

Working Productively in Bash’s vi Command Line Editing Mode (with Cheat Sheet)

Wednesday, January 09, 2008 at 02:45 AM / catonmat.net

"I am going to introduce you to bash’s vi editing mode and give out a detailed cheat sheet with the default keyboard mappings for this mode."

Bourne Shell Server Pages

Wednesday, November 21, 2007 at 08:28 PM / hyperrealm.com

"Installation is left as an exercise for the reader."

Hotwire graphical terminal

Sunday, October 21, 2007 at 01:15 PM / howtoubuntu.com

Looks like they're bringing the basic capabilities of readline up to the GUI level. Definitely interesting.

Fear and loathing at the command line

Sunday, October 14, 2007 at 01:07 PM / brucebyfield.wordpress.com

"To average users, the suggestion that they use the command line – or the shell, or the terminal, or whatever else you want to call it is only slightly less welcome than the suggestion that they go out and deliberately contract AIDS." That's a damn sham

Good Shell Coding Practices - Handling Command Line Arguments

Tuesday, October 02, 2007 at 07:59 AM / shelldorado.com

Very nice look at different methods (good and bad) for handling the command line in sh scripts.

What to watch out for when writing portable shell scripts

Friday, April 13, 2007 at 06:34 PM / programming.newsforge.com

Nice look at techniques for writing portable sh.

Improve this Script and Win $100USD

Sunday, March 04, 2007 at 12:09 PM / bashcurescancer.com

exec 3<> /dev/tcp/$HOST/80 What?! How cool is that.

getopt and getopts

Tuesday, February 27, 2007 at 09:38 AM / aplawrence.com

A complete look at the little used utilities for processing arguments in scripts.

Web Developers: 13 Command Line Tricks You Might Not Know

Monday, February 05, 2007 at 10:07 PM / seomoz.org

Anyone who doesn't know every single one of these probably hasn't been developing for the web very long. Probably a useful crash course for newbies making their way over from FrontPage or ASP.net though.

UNIX productivity tips

Thursday, September 21, 2006 at 12:39 PM / www-128.ibm.com

Best UNIX productivity article I've read in a long while.

Shell Tips and Tricks

Saturday, December 24, 2005 at 10:51 PM / linux-mag.com

... and not just the usual suspects either.

Using Bash's History Effectively

Thursday, April 07, 2005 at 11:14 AM / talug.org

Need to move away from history | grep -i