[Nottingham] ssh and tab autocomplete in BASH
jasonirwin73 at gmail.com
Fri Nov 16 10:41:31 UTC 2018
Yeah, I recognise the misspelling and I know I did it; I just can't find
out where the little sod it stored (other than in .bash_history, it's gone
Human readable text files are only good when you know where they are!
A "grep -r mistook /" it is then.
On Thu, 15 Nov 2018 at 17:21, Martin via Nottingham <
nottingham at mailman.lug.org.uk> wrote:
> Something added to your /etc/hosts file or something getting added to
> your bash aliases?
> Do you recognise the misspelling?
> A new host added to your network?...
> And in all desperation... You could try a:
> grep -r 'misspelling_annoyance' wherever/likely/or/possible
> Such is the beauty of human readable text config files and a consistent
> set of tools to access them!
> (Cue signature song for Brick in The Wall:
> We don't need no steenking systemd...
> We don't need no registrys...
> System! Leave that binary alone!)
> Good luck?
> On 15/11/2018 16:47, J via Nottingham wrote:
> > Hello all,
> > Tab autocomplete is a wondrous thing when it works and for quite a while
> > it was for me. I have ~.ssh/config set-up with my various servers and
> > keys and it was great to be able to type "ssh a[TAB]" and have it fill
> > in the rest.
> > Due to various stages of fat-fingering, it is now no longer fully
> > auto-completing as it has got some spellign misteaks stored somewhere.
> > Does anyone have any idea where that somewhere is?
> > I've tried mucking around with "complete", but it doesn't report back
> > any of the misspelled server names.
> > All I really want to do is reach into the file (or whatever) and removed
> > the duff entries.
> > Cheers,
> > J.
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nottingham