Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'whre is .bashrc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
whre is .bashrc
Authored by: foamy on Apr 10, '01 09:34:18PM

If you didn't install the BASH shell, then you won't have a .bashrc.

If you are using the default shell for the terminal (tcsh I think), then you should have a .tcshrc file in /Users/username/ directory. To check, open the terminal and type ls -al and hit return. If it is there you can edit it using by typing pico .tcshrc. If it is not there, pico .tcshrc will create it.

Enter you're aliases in the format
alias name "command in quotes" for example
alias dante "telnet dante.u.washington.edu"
so when you type dante at the terminal, it will open a telnet session to dante.u.washington.edu.

You have to quit the terminal and restart it to see the effects.

if you are using the zsh shell (a lot like BASH I'm told), then the syntax is
alias name='command'

have fun



[ Reply to This | # ]