Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2007
automatic executable batch file in linux
does linux supports automatic executable file as like windows support autoexec.bat file???I want to run one application aytomatically when linux boot.
Please reply with details
Well, the entire linux world works like Lego..
So yea.. ^^
there are Lots of initscripts.
Linux works with Run Levels.
level 0 is off
level 3 is multiusr Console
level 5 is X11
level 6 is reboot.
well there is a folder If I recall correctly /etc/inittab/
there are files
They are the bootscripts and the runlevels.
Well there is also a bootscript for when X11 starts and a bootscript for when Fluxbox, KDE or Gnome starts
Well Google for Bootscript and you find your answer..
Hope that helps
so that everytime user logs in it will be executed ...
if you want to execute at boot time ...try inittab file,
giis::boot:/usr/bin/giis -u > /dev/null
i added above line in my inittab file ..
so everytime linux boots a command called giis will run and it's outputs are sent to /dev/null ...just trash the output.
Check out this init - Wikipedia, the free encyclopedia
or simply type man inittab .
All the best