Open Source Technical Information: How to run something when the computer starts?

Monday, 24 October 2011

How to run something when the computer starts?

,


Today we gona learn how to run a command right after you boot, before anybody logs in.

To do that we have to edit a file which is in  /etc the file is rc.local
first  Open a terminal  then Become root using  su - 
then open the file in your favorite text editor.

i have  used gedit /etc/rc.local &
then add the command that you want to run to the end of the file.

then reboot the system.
have fun :)

0 comments to “How to run something when the computer starts?”

Post a Comment

Write your tips here...

Deal of the Day

Advertisement here

Advertisement here