I frequently login to a server, then cd into a specific directory. Is it possible to simplify these two commands into one?
ssh bob@foo
cd /home/guest
I'd like to avoid changing anything on 'foo' if possible, as I'll have to clear it with the server administrator. I use bash, but I am open to answers in other shells.
... && exec bash -l
– konsolebox Aug 16 '13 at 04:55