Take a look at the url I gave you, this explains al there is to know about runlevels and how to automatically start programs when you enter a certain runlevel. I.e: you boot and end up with a graphical environment [gnome, kde,xfce etc], this is called rl5 (some distro's call it rl4). If you boot and end up with a command prompt (non-gui), you end up in rl3.
About executing scripts:
To make a script executable do the following:
chmod 750 <filename> Take a look at man chmod for details.
The above command gives read/write/execute rights to the owner of the file (the first rwx), read/execute rights to the group the file belongs to (second set of three: r-x) and the rest (world) has no rights (third three: ---).
If a file is not to be found in the $PATH setting, you need to give the (full) path, or cd to that path and execute it:
Hope this helps.
Last edited by druuna; 02-15-2004 at 05:55 AM.