add this to your .inputrc to enable parenthesis matching in bash and other readline apps (and check out rlwrap for everything else):
set blink-matching-paren on
tags: bash
# 0 comments
@ code
a few bash tricks:
M-u uppercase word
M-l lowercase word
M-c capitalize word
M-t transpose words
C-t transpose characters
C-r search backward in history
C-z suspend current command
${foo:0:1} substring expansion
${foo/regex/bar} character substitution
$((foo+bar)) arithmetic evaluation
!! previous command
!^ first argument of the previous command
!$ last argument of the previous command
!foo most recent command starting with 'foo'
^foo^bar previous command with 'foo' replaced by 'bar'
tags: bash
# 0 comments
@ code