You are not logged in.
^ that is what i do too 
Between two evils, I always pick the one I never tried before ~ Mae West
Offline
Ctl+r: search history backwards, then type something unique in your command, e.g.
Ctl+r off
recalls 'sudo poweroff' for me
If it does not return the command you were lookoing for, pressing Ctl+r repeatedly cycles through all previous commands containing 'off'
bootinfoscript - emacs primer - I ♥ #!
Offline
^ smart a*se
EDIT: Sorry xaos52 I didn't mean to be so rude.
Last edited by mariannemarlow (2012-08-22 18:57:51)
Between two evils, I always pick the one I never tried before ~ Mae West
Offline
For the brave:
!a
!b
!c
...

Start Distrohopping here! -> Roast your own | VSIDO | LinuxCNC | AntiX | Frugalware | <-
Offline
Only thing I dislike about ctrl-r (and I use it all the time) is I then expect all keybindings to work on the command line, and especially hate if I want to do a forward search having gone too far back, so hit ctrl-s and then have to resume with ctrl q.
You can also type history to see your last commands and then do !number from the list
Offline
@Enoch, great handle you got there. Busy reading all about you at the moment
Off topic: I found this short story by the author that looks quite geeky.
Tip
Editing your command happens often. I find ^a and ^e to jump to the start and end of the line helps. And ^left/right arrows to jump words helps too. Oh and esc-del to delete a word, and ^u to clear the line as well! These come in handy when wanting to chop words over ssh where lag doesn't respect keypress rates 
Last edited by kbmonkey (2012-08-24 16:51:07)
Offline
I find ^a and ^e to jump to the start and end of the line helps.
Home and End work too 
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
Every time I type in "sudo," I'm thinking...
Shut Up and DO it!
Could just be me. 
"When I enter a command... I expect ass to be hauled and the coffeelike aroma of hustle delicately hovering in the air." -thalassophile
My attempt at a blog; http://jims2011.blogspot.com/
Offline
^damin it, that's going to be hard to get out of my head each time I use it now 
Offline
^ & ^^ - Kinda recasts the whole "sudo make me a sandwich" joke, huh? Makes it sound more like Jackie Gleason. 
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.