I connect to another server using command:
ssh -Y server1
On server1 I add an alias in .bashrc file:
alias gousr='cd /opt/user/myuser'
When I try to run gousr command at server1 xterm, it says "command not found". What is wrong here?
I tried this and it worked for me. Have you run source ~/.bashrc since you last logged in/rebooted?
if: Expression Syntax
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
11 months ago