3. Put this in your ~/.inputrc
# Produce list of all possible completions at single tab
set show-all-if-ambiguous on
4. ?
5. You can set a 'trap':
$ trap "echo Exit $?;" ERR
$ wc /tmp/qqwoieuqo
wc: /tmp/qqwoieuqo: No such file or directory
Exit 1
$ trap - ERR # Reset trap
Freddy Vulto
http://fvue.nl
