LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Startup script for linux (https://www.linuxquestions.org/questions/linux-general-1/startup-script-for-linux-317190/)

Tr@ce 04-26-2005 02:24 AM

Startup script for linux
 
Hello again,
I have a few files that I want to run when I log in. Is there a specific script that I would have to edit to get that to happen and if yes, where is that script located?

zulfilee 04-26-2005 03:06 AM

Do you want to run the files when you log in or when the system boots up

If on login

Edit your .bashrc file in the users home directory
Ex:
For root edit /root/.bashrc

If you want to run the files during system startup put it in /etc/rc.local

Cheers
Z

Tr@ce 04-26-2005 03:16 AM

Thanks much


All times are GMT -5. The time now is 03:18 AM.