Hacker News new | ask | show | jobs
by eb0la 2530 days ago
Using the caret (^) character to correct mistakes.

Imagine you write something like this:

# moutn -o ro -o remount /dev/hda0 /

Arg! I should have written mount, not moutn!

Easy fix:

# ^moutn^mount

I find it better than editing the last line (with cursor). It even works at boot and without 'doskey-like' arrow history.