Hey folks,

I have spent a little time today working out a cute little bash alias trick
for reducing my typing when connecting to various instances in labs.
Adding the following code to your *.bash_alias* (or just *.bashrc*) file
will change $ ssh <your instance>.eqiad.wmflabs to $ labs <your instance>.


labs_ssh() {
>   ssh $1.eqiad.wmflabs
> }
> alias labs=labs_ssh


And there you have it.  It's not much, but this helped my sanity a little
bit and I wanted to share.

-Aaron
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to