29 Sep 2008

Git Down!

I’ll be doing a quick talk on git-sh(1) tomorrow night at the first ever Git Down!, in San Francisco.

tomayko.com   20:49

11 May 2005

OS X Network Location Support From The Command Line

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

tomayko.com   10:50

19 Jul 2010

3 shell scripts: Kill weasel words, avoid the passive, eliminate duplicates

I can’t think of anything I like better than the intersection of writing and shell hacking.

matt.might.net   10:59

09 Nov 2009

rtomayko's dotfiles

I recently started a repository for my dotfiles, shell environment, vim config, and utility scripts. As of right now, I’m about 25% through all of the stuff in my $HOME — it should all fill in shortly.

github.com   16:32

05 Mar 2009

computerworld.com.au   15:38

23 Feb 2009

bash 4.0 NEWS file

Big list of new features in bash 4.0.

tiswww.case.edu   14:52

24 Nov 2008

Debug your shell scripts with bashdb

“The syntax for many of the commands in bashdb mimics that of gdb, the GNU debugger. You can step into functions, use next to execute the next line without stepping into any functions, generate a backtrace with bt, exit bashdb with quit or Ctrl-D, and examine a variable with print $foo.”

linux.com   12:44

02 Aug 2008

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

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.

github.com   21:23

27 May 2008

Git Commits That Need to be Pushed

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

justinfrench.com   16:25

16 Mar 2008

BashPitfalls

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

wooledge.org:8000   08:29

25 Feb 2008

Csh Programming Considered Harmful

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.

faqs.org   05:06

16 Jan 2008

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

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.”

kb.iu.edu   23:21

12 Jan 2008

DTerm - A command line anywhere and everywhere

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).

decimus.net   21:16

08 Jan 2008

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

“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.”

catonmat.net   18:45

21 Nov 2007

Bourne Shell Server Pages

“Installation is left as an exercise for the reader.”

hyperrealm.com   12:28

21 Oct 2007

Hotwire graphical terminal

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

howtoubuntu.com   06:15

14 Oct 2007

Fear and loathing at the command line

“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

brucebyfield.wordpress.com   06:07

02 Oct 2007

Good Shell Coding Practices - Handling Command Line Arguments

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

shelldorado.com   00:59

13 Apr 2007

What to watch out for when writing portable shell scripts

Nice look at techniques for writing portable sh.

programming.newsforge.com   11:34

04 Mar 2007

Improve this Script and Win $100USD

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

bashcurescancer.com   04:09

27 Feb 2007

getopt and getopts

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

aplawrence.com   01:38

05 Feb 2007

Web Developers: 13 Command Line Tricks You Might Not Know

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.

seomoz.org   14:07

21 Sep 2006

UNIX productivity tips

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

www-128.ibm.com   05:39

24 Dec 2005

Shell Tips and Tricks

… and not just the usual suspects either.

linux-mag.com   14:51

07 Apr 2005

Using Bash's History Effectively

Need to move away from history | grep -i

talug.org   04:14