Re: [OxLUG] CLI tricks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Victor Engmark
Date:  
To: Oxfordshire Linux User Group Discussion List
Subject: Re: [OxLUG] CLI tricks
Alt-. to paste the last argument of the last command (repeat to get
the last argument of earlier commands).

$ make me a sandwich
make: *** No rule to make target 'me'. Stop.
$ sudo !!
Sure

Cheers
Victor

On 11 January 2017 at 17:00, Philip Allen <> wrote:
> mutt
>
> On Wed, Jan 11, 2017 at 02:02:47PM +0000, Paul Moore wrote:
>> Hi,
>>
>> Thanks for the posts on editors. I'm currently updating a Gedit macro
>> plugin, and will distribute it when I get it working.
>>
>> What are your favourite CLI tricks? In my environment, my favourites are,
>>
>> # pop up a terminal
>> <ctrl><alt>T
>>
>> # close it
>> <ctrl>D
>>
>> # MATLAB-style command recall
>> bind '"\e[A":history-search-backward'
>> bind '"\e[B":history-search-forward'
>>
>> Also see @climagic on Twitter - quite good if you need to animate a dancing rabbit in your terminal.
>>
>> Paul.
>>
>>
>>
>
> --
> Philip Allen, Executive Chairman, CoreFiling Limited
> http://www.corefiling.com
> Phone: +44-1865-203192 Mobile: +44-7956-160959
>