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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You do not have to logout.  You just got to 'source ~/.bash_profile' to make it work.

I am not using export after my aliases and it works.

:-)

On Mon, Dec 1, 2008 at 10:02 AM, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx> wrote:
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
>
If I remember correctly, you also need to export the alias. See if
adding "export l" to .bash_profile helps.

Mikkel
--

 Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux