sfish
Fark Lover
I'm trying to fire off a long command in Terminal by typing in a much shorter command. For example:
I'd like to be able to type:
"smgo"
and have it resolve to:
"smbclient \\\\xxx.xxx.xxx.xxx -W DomainName"
Another Mac person at the office who also knows a bit about Unix told me to add .profile to my homedir with this content:
alias smgo=smbclient \\\\xxx.xxx.xxx.xxx -W DomainName
I did this and it didn't work. Yes, I've restarted Terminal and even rebooted.
Thanks for any help in getting this to work!
I'd like to be able to type:
"smgo"
and have it resolve to:
"smbclient \\\\xxx.xxx.xxx.xxx -W DomainName"
Another Mac person at the office who also knows a bit about Unix told me to add .profile to my homedir with this content:
alias smgo=smbclient \\\\xxx.xxx.xxx.xxx -W DomainName
I did this and it didn't work. Yes, I've restarted Terminal and even rebooted.
Thanks for any help in getting this to work!