SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#51 2012-08-22 16:25:25

mariannemarlow
#! Die Hard
From: My flat, London, England
Registered: 2012-06-03
Posts: 2,204
Website

Re: Command Line: The Absolute Basics

^ that is what i do too smile


Between two evils, I always pick the one I never tried before ~ Mae West

Offline

Help fund CrunchBang, donate to the project!

#52 2012-08-22 16:30:59

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,595

Re: Command Line: The Absolute Basics

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'

Offline

#53 2012-08-22 16:38:44

mariannemarlow
#! Die Hard
From: My flat, London, England
Registered: 2012-06-03
Posts: 2,204
Website

Re: Command Line: The Absolute Basics

^ 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

#54 2012-08-22 16:45:24

machinebacon
#! unstable
Registered: 2009-07-02
Posts: 6,586

Re: Command Line: The Absolute Basics

For the brave:

!a
!b
!c
...

lol

Offline

#55 2012-08-22 20:11:15

EnochRoot
#! Junkie
From: London, UK
Registered: 2011-10-15
Posts: 279
Website

Re: Command Line: The Absolute Basics

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

#56 2012-08-24 16:45:11

kbmonkey
#! Die Hard
Registered: 2011-01-14
Posts: 806
Website

Re: Command Line: The Absolute Basics

@Enoch, great handle you got there. Busy reading all about you at the moment smile 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 wink

Last edited by kbmonkey (2012-08-24 16:51:07)

Offline

#57 2012-08-25 08:58:27

EnochRoot
#! Junkie
From: London, UK
Registered: 2011-10-15
Posts: 279
Website

Re: Command Line: The Absolute Basics

^ Thanks ! I've got that article somewhere never got round to reading it all. Have the new Stephenson book but not got round to starting it either sheesh

Offline

#58 2012-08-28 05:45:01

johnraff
#!Drunkard
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 2,687
Website

Re: Command Line: The Absolute Basics

kbmonkey wrote:

I find ^a and ^e to jump to the start and end of the line helps.

Home and End work too smile


John
--------------------
( a boring Japan blog , idle twitterings  and GitStuff )

Offline

#59 2012-10-31 01:16:48

dgz
#! Junkie
Registered: 2011-11-22
Posts: 371

Re: Command Line: The Absolute Basics

@rhowaldt @awebb

very useful, my gratitude.

Offline

#60 2012-10-31 03:02:29

merelyjim
#! Die Hard
From: Fort Worth, Texas
Registered: 2010-04-07
Posts: 2,303
Website

Re: Command Line: The Absolute Basics

Every time I type in "sudo," I'm thinking...
Shut Up and DO it!

Could just be me. big_smile


"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://waitingonragnarok.blogspot.com/

Offline

#61 2012-10-31 16:28:48

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Command Line: The Absolute Basics

^damin it, that's going to be hard to get out of my head each time I use it now smile

Offline

#62 2012-10-31 20:28:43

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 11,467

Re: Command Line: The Absolute Basics

^ & ^^ - Kinda recasts the whole "sudo make me a sandwich" joke, huh?  Makes it sound more like Jackie Gleason. neutral


Yes; as a matter of fact, I am a cop.  Why do you ask? cool
I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo