Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Automatic command execute at boot time

  Date: Feb 04    Category: Unix / Linux / Ubuntu    Views: 449
  

I would like to have a command executed at the time I log in or even at
the time of boot up. Is it best to put something like that is my .profile or
somewhere else?

Share: 

 

4 Answers Found

 
Answer #1    Answered On: Feb 04    

Select

In "Startup Applications Preferences" "Startup Programs" tab, select any
applications on the left you want to start at startup. In your case you will
need to click and browse to the application you want to run at startup.

 
Answer #2    Answered On: Feb 04    

You probably realise this, but in case not- the command you want to
add can be added in the same way as described below after you have
saved the string as a script with something like #!bin/bash as the
first line then the command on the second. Then of course chmod to
executable.

 
Answer #3    Answered On: Feb 04    

Already have it working and tested. Worked easy........

 
Answer #4    Answered On: Feb 04    

You can put your command in /etc/rc.d/rc.local. This file load after the
system completes its boot procedure.

 
Didn't find what you were looking for? Find more on Automatic command execute at boot time Or get search suggestion and latest updates.




Tagged: