Thank You, Bash!
Sure, it's an oldie, but I use GNU bash every day and have no idea how I'd get my work done without it.
Not only do I have a reliable stable of shell scripts (my favorite is xt, which fills my screen with appropriately-placed XTerms in the current directory--it's great for programming !), but I use bash completion to make the tab and space keys more powerful.
When a full shell script is too much, Damian Conway's realias trick has saved me an immense amount of time.
Simon Myers' Power Shell Usage is full of wonderful bash tips and tricks. I'm a big fan of Ctrl-r and
$!, for example.
There are dozens of bash features I've never even heard of and might one day use. The level of customization and flexibility from a really good command line makes it almost painful to use a GUI sometimes. Fortunately, I don't even have to think about what I'm doing. Yes, bash is that good.
Thank you to all of the shell developers and documenters and contributors who keep the command line flexible, powerful, and useful.
|Godd mornig US Westcoast. Munich OS Freak here... :P|
$! is the PID of the last command ran in the background. Whilst useful, did you mean !$ which is the last word of the last command? !^ is similarly useful, as is ^old^new.
Two of my favorites:
# I often find myself switching between two directories:
alias bd='cd "$OLDPWD"'
tom, you could also use
or creating a new alias :)