autoexe.bat
hi am a true newbie
is there a file in linux comparable to autoexe.bat in windows so i can a terminal command on start up?? thanks :newbie: msi k7n2 stress!! under redhat 8.0 |
heh, no. there is an equivalent to autoexec.bat though ;) but it depends what you want to achieve. to have something run once on boot up, add it to the end of /etc/rc.local but you might prefer it to load on each login, only certain users logins etc... in whcih case there are more suitable places.
|
yeah i want it to run on each logon
my onboard sound dosent work even though i installed the drivers off the nvidia site every time i reboot i have to modprobe nvaudio for the sound to work. |
yes so that's rc.local you want. but actually you should be setting it to load properly, so you should be able to add soemthign like "alias sound-slot-0 nvaudio" to /etc/modules.conf, a much more official way to do that.
|
If you want to run it for each user login then put it in ~/.bashrc or ~/.bash_profile
|
All times are GMT -5. The time now is 07:34 AM. |