4 ms·
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 mou
by eb0la 7y 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.