This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Complete remote files

Posted by: Anonymous Coward on May 09, 2006 04:47 AM
Here's another great tip:
If you set up RSA authentication for SSH you can even auto-complete files on remote machines!
Example:

$ cp index.html webserver:/va[tab]w[tab]lo[tab]ht[tab]

(assuming webroot in webserver:/var/www/localhost/htdocs)

At least this works fine in Gentoo.

#

Return to CLI Magic: Bash complete