View previous topic :: View next topic |
Author |
Message |
mhelvens Guru
Joined: 17 Mar 2005 Posts: 337 Location: The Netherlands
|
Posted: Thu Mar 31, 2005 11:32 am Post subject: Simple question [SOLVED] |
|
|
Where do I put 'alias' commands I want to be executed at startup, so they'll be permanent?
Thanks!
Last edited by mhelvens on Thu Mar 31, 2005 9:44 pm; edited 1 time in total |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Thu Mar 31, 2005 11:35 am Post subject: |
|
|
~/.bashrc |
|
Back to top |
|
|
Splink Apprentice
Joined: 09 Feb 2005 Posts: 295
|
Posted: Thu Mar 31, 2005 11:35 am Post subject: |
|
|
/etc/conf.d/local.start ?
this is just a guess .. not on my gentoo machine at the moment to test |
|
Back to top |
|
|
mhelvens Guru
Joined: 17 Mar 2005 Posts: 337 Location: The Netherlands
|
Posted: Thu Mar 31, 2005 11:38 am Post subject: |
|
|
Maybe the one kimchi_sg gave is specific for each user and the one Splink gave is for all users?
Anyway, thanks! I'll take a look at both. |
|
Back to top |
|
|
mhelvens Guru
Joined: 17 Mar 2005 Posts: 337 Location: The Netherlands
|
Posted: Thu Mar 31, 2005 9:44 pm Post subject: |
|
|
I put it in ~/.bashrc. Works perfectly! Thanks! |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Thu Mar 31, 2005 11:54 pm Post subject: |
|
|
Michiel_H wrote: | Maybe the one kimchi_sg gave is specific for each user and the one Splink gave is for all users? |
The one I gave is for only a single user.
If you want it to be defined for all users, put it in your very own bash variables file in /etc/env.d/. I like to call mine /etc/env.d/99local. |
|
Back to top |
|
|
|