How to make custom alias in ~.bash_profile work on F10 86_64

Aaron Konstam akonstam at sbcglobal.net
Mon Dec 1 14:16:30 UTC 2008


On Mon, 2008-12-01 at 14:49 +0700, Yunus wrote:
> Hi Users of Fedora
> 
> I added below line to last line fo my ~.bash_profile
>     alias l='ls -la'
> I logout and login again then try issuing:
>     $ l
> on command prompt but had no effect. Is there other way to make my custom 
> alias (put in ~.bash_profile) work?
> 
> It has no problem if I make an alias in gnome-terminal :
>     $ alias l='ls -la'
>     $ l
> Issuing 'l' command on command prompt will produce the desired result.
> 
> Thank you
> yunus 
> 
> 
Put the alias in .bashrc not .bash_profile
--
=======================================================================
"I keep seeing spots in front of my eyes." "Did you ever see a doctor?"
"No, just spots."
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list