Hello everyone, thanks for the good information here!
I'm not really sure if you would want to consider this a "trick" or not but it's gotten me out of some sticky situations when sshing from one machine with my shell set as bash to another machine with my shell set as certain versions of ksh.
Basically if you find yourself in a situation where the backspace key is no longer working, and you don't feel like pressing ctrl-h to erase things all day, you can use "stty" to remap the erase key to the backspace button.
$ stty erase <press the key you wish you map erase to, usually backspace>
You can use stty to remap various other things as well (man stty =)
---
Oh yeah, another thing that may come in handy. (again sorry this may not be considered a trick)
On linux the 'killall' command will let you kill all of the processes with a given name. On some Solaris machines killall will flat out kill all processes... including init.
A handy string of commands to use when you have a bunch of stray processes out there but you can't use killall is the following:
$ ps -aef | grep <process name> | awk '{print $2}' | xargs kill -9Again not a trick, but a common, helpful, string that people may end up using