I work on multiple machines and need to login into them remotely. I want to have an alias which can make my rlogin command simpler.
So, I want to convert following command into an alias :
rlogin `echo "machine $num" | tr -d ' '`
I tried writing this in my .cshrc file :
alias rl rlogin `echo machine$1| tr -d ' '`
when I do rl 13
It says :
usage: rlogin [ -8EL] [-e char] [ -l username ] host
What am I missing here ?