Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dfernan

macrumors newbie
Original poster
Mar 4, 2011
1
0
Hi,

I am using a macbook pro, OS 10.6.6

I defined the aliases in the .bashrc file but they are not working not sure why???

dhcp-0148854509-91-5a:~ dfernan$ echo $SHELL
/bin/bash
dhcp-0148854509-91-5a:~ dfernan$ cat .bashrc
alias ody = 'ssh fernandez@kerbes.osu.edu'

I get the following error when I open a new terminal window:

/Users/dfernan/.bashrc: line 2: alias: ody: not found
/Users/dfernan/.bashrc: line 2: alias: =: not found
/Users/dfernan/.bashrc: line 2: alias: ssh fernandez@kerbes.osu.edu: not found

Any suggestions? Help will be strongly appreciated! :)
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.