Startup programs

There are several time when you need your application run at start, sometimes you just want the application run on the background, other times we need it to ask for informations before going ahead. As said before there are several options to do this, but the simple path (yet not professional) is to add this files to the startup file. This file is located on /etc/rc.local.

This file can store several commands for execution, also, it’s for some more actions, but for this time we are using it as a execution file.


We just edit the file as follows:

sudo <compiler> <path to file> <&>

and if you want it to run on background, just add an & at the end, it’s not necessary but if your code has a no end of line, or an infinite loop, then all the start of the OS is going to get stuck.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s