top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to make my C/C++ code as bootable code on linux system.

+2 votes
308 views

I am new to Linux and want whenever the machine restarts my program should be executed, how can I achieve that?

posted Nov 11, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

In Ubuntu:
open startup application
It will looklike as follows,
Startup Application Preferences pic

Then click on add button, again one window popup will come like this,
Add Startup Program pic

  1. Fill the name, whatever you like
  2. in commnad, browse to you program which you want to start at every bootup.
  3. Provide comment if you want.

Note: point 1 and 2 is not mandatory.

Now you are good to go.

answer Nov 12, 2014 by Arshad Khan
Similar Questions
+2 votes

Please share a sample program with detail code.

+5 votes
+1 vote

Instead of running on executable , i want to run on source code .... is it possible with valgrind or not ... please help how i can i run on source code ?

If not possible suggest me some alternate ways...

...