first how do I have an auto completion feature for scp ? I often need to 'scp ' a file to a remote server, then I type :
PHP Code:
scp someprogram paulga@pinherstforestrain.math.edu
I 'd begin to type tab before or after the input of @. but the available choices are mainly : @localhost6, @localhost.localdomain, @localhost, etc.. which file records these hosts name?
second, to execute a program in current directory, I have to type ./program, how can I ommit the prefix, or I could type it as I type "octave",etc.
Thanks a lot.