I want an alias to SSH into another machine and then CD into a specific directory.
alias appl="ssh firstname.lastname@example.org; cd /opt/tomcat/instances/"
It does not work. Any ideas?
It doesn't work because the
Here is the way to do it:
If you mean that the cd should work in the remote machine, then this cannot work.
You could change your