Topic: Computers bash

(link)

9:07am, Tuesday 9 May 2006

While reading LWN/linux.com I discovered that bash can do tab-completion on a remote host:

scp foo.txt remotehost:somed<tab>
goes off and makes a batch-mode ssh connection to remotehost, finds the possible completions and returns them to the partial command line. That's just freaky.

Oh, and bind '"\t":menu-complete' gets cyclic-completion instead of partial-completion, which is strange at first but feels like it might be faster when I get used to it.

back to main

<-
 Topic:    
->

Powered by Personal Weblog.

February 2018
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28      
Jan   Mar

[RSS]

 


 


Dave Holland <dave@biff.org.uk>
$Id: index.php,v 1.75 2010-07-09 22:15:04 dave Exp $