Automatically running commands at startup

Question

I’m just wondering if someone knows how to run a programme at startup? I basically need to set up a computer to login to the internet at startup. The way to do it is to run the cyberoam client at startup. It is in the crclient folder (within home folder). So, when I’m doing it through the terminal, I type:

cd ~/crclient
./crclient -u username

This basically allows the computer to login. Is there anyway, I can get both these lines to run automatically at startup?

Answer

Put the command
/home//crclient -u username
in the file /etc/rc.local

Advertisements
Published in: on May 27, 2008 at 4:04 am  Leave a Comment  

The URI to TrackBack this entry is: https://ubuntuissues.wordpress.com/2008/05/27/automatically-running-commands-at-startup/trackback/

RSS feed for comments on this post.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: