Click to See Complete Forum and Search --> : Getting programs to run from startup


G4
07-23-2001, 12:34 AM
On my machine I run in command line mode. Is there a way to have one of my bash progs run when I log in?

G4

linuxluis
07-23-2001, 12:55 AM
Well what you could do is when your log in as root or a user . what you could do is hit
crt+alt+f3 or f4,f5,f6 . that will take you to other bash shell. to get back to the first bash fall all you have to do is
alt + f7 ..

let me know if it works for you .

tux :)

G4
07-23-2001, 01:07 AM
Thanks, but not quite what I had in mind.
When I log in as a user I want a bash program that I wrote to auto run on the term that I logged in on. It mounts my CD drives, changes some setterm stuff, etc...

G4

Iassen
07-23-2001, 01:58 AM
At the end of /etc/rc.d/rc.local enter the path to your script file:

/home/yourname/./yourscript

It will be executed at startup
Hope that helps

[ 23 July 2001: Message edited by: Iassen ]