If your are using the Terminal application of your Apple computer running Mac OS X, try bash programmable completion. It allow you to use the TAB key more often, for example in scp: (If you are using ssh-keys.)
$ scp shell01:/etc/pa
/etc/pam.d/ /etc/pam_smb.conf /etc/passwd
/etc/pam_pkcs11/ /etc/pango/ /etc/passwd-
$ scp shell01:/etc/paThe steps to start using this great utility are these:
| About | Consultancy | Articles | Contact |
|
|
|
|
|
| References | Red Hat Certified Architect | By Robert de Bock | Robert de Bock |
| Curriculum Vitae | By Fred Clausen | +31 6 14 39 58 72 | |
| By Nelson Manning | robert@meinit.nl |
Comments
Headsup. Just came across
Headsup. Just came across this and the instruction didn't work for me with bash-completion 1.3, i.e. no scp completion after copying and sourcing bash_completion. Reason being: the ssh/scp and other app-specific completions aren't part of the bash_completion script (anymore?), but split off to separate files in the completions/ subdir. Either take care of them manually (copy them to /etc/bash_completion.d/) or consider using one of fink/homebrew/macports to install bash-completion in a way that possibly takes care of all required files.
You can also get it through
You can also get it through brew (an OS X package manager):
brew install bash-completionwould do it, it will output some code to add to your~/.(bash_)profileand you're set.