View Single Post
Posts: 3 | Thanked: 13 times | Joined on Dec 2009 @ St Albans, UK
#19
Originally Posted by qole View Post
kwotski: what do you use the ^ hat for?
Another use for the ^ character (at least it most shells e.g. tcsh/bash) is for quick corrections of typos. For example, if you accidentally type:

Code:
less thisisaveryloNGfilename.txt
then, rather than either re-typing the whole line, or using the arrow keys lots of times to get to the right place, you can change the "NG" to "ng" by typing just:

Code:
^NG^ng
 

The Following 12 Users Say Thank You to psmears For This Useful Post: