PDA

View Full Version : [SOLVED] Bash function not working



Thieflock
May 15th, 2008, 12:50 AM
I am actually doing this on Fedora 9 but I am using Ubuntu right now. So I can't seem to get aliases or functions to work after I add them to my .bash_profile and save. I log out then log back in after coding and saving but nothing is happening. Any ideas?

will1911a1
May 15th, 2008, 12:53 AM
Add 'em to .bashrc?

Thieflock
May 15th, 2008, 12:59 AM
No, do they have to be in both? Or just .bashrc?

will1911a1
May 15th, 2008, 01:02 AM
The few times I've bothered with aliases I've used .bashrc and didn't have a problem.

Thieflock
May 15th, 2008, 01:04 AM
It is working now, thanks a ton Will.

will1911a1
May 15th, 2008, 01:38 AM
You're welcome. :)