Saturday, July 14, 2007

Useful Shell Shortcuts

Reuse previous arguments
!! - Full contents of previous command
!$ - Last arg of previous command
!^ - First argument of previous command
!:n - Argument by number

Sets
{a,b} - A set

No comments: