Results 1 to 5 of 5
Hi,
I'm new to Linux world, and would like to know the way on running a shell script (inside is some file copy and command line ant) after login (like ...
- 10-10-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
Startup script after login
Hi,
I'm new to Linux world, and would like to know the way on running a shell script (inside is some file copy and command line ant) after login (like a batch file I normally put in Windows startup). I've tried to put it in /etc/rc.local, and apparently it's called before login. FYI, I'm using RHEL5.
Any idea ?
Thanks
- 10-10-2007 #2
Are you logging into the command line or a GUI. If its a GUI what desktop environment or window manager are you using?
- 10-11-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
GUI. It's X11 (I'm using what's coming with RedHat 5).
- 10-11-2007 #4
You can use Starup Applications of your desktop environment.
- 10-11-2007 #5
You could look in your GNOME preferences for an entry called "Sessions" and add commands to run your script in there.


Reply With Quote