LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kinda global aliases? (https://www.linuxquestions.org/questions/linux-newbie-8/kinda-global-aliases-77935/)

pal_o_matic 08-01-2003 02:15 AM

kinda global aliases?
 
Hey look, it's that RedHat9-:newbie: again :)

Um, is there any way that I can configure command aliases that are valid for all users? E.g. I'd like to use "e" to start emacs no matter whether I am root or myself or working on someone else's account. And I'd prefer a single change over editing 27 different ini-files.

Zoombie 08-01-2003 02:32 AM

If you're using bash, you can add commands to be executed on shell startup in /etc/profile.


All times are GMT -5. The time now is 09:38 AM.