LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2005, 11:10 AM   #1
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
Post Automatic Start


I use FC3 and i have LAN. Whenever I boot my computer I have to run a command as a root in terminal. Can anybody tell me how I can perform such task automatically whenever I boot my computer?
 
Old 05-14-2005, 12:40 PM   #2
green4u
LQ Newbie
 
Registered: Dec 2004
Location: Woods
Distribution: RedHat
Posts: 19

Rep: Reputation: 0
u can do some shell scripting and put it in the rc.local inside /etc/
 
Old 05-14-2005, 06:02 PM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Different distros put it in different places, but there should always be a "rc.local" (or similar) file in the /etc or subdirectories thereof. This file is for your miscellaneous commands that aren't handled by other startup scripts, but are wanted at bootup.

Just a little explanation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic start of aMule underberg Linux - Software 4 03-13-2005 10:12 AM
Automatic start of kde at startup thort Linux - Newbie 2 08-28-2004 02:36 PM
Automatic start of programs? ElPuello Linux - Software 3 04-15-2004 08:15 PM
Automatic Start of XTerm secprovider Linux - Newbie 1 03-30-2004 04:00 AM
Automatic start of program VincentB Linux - Newbie 1 07-03-2003 04:21 PM


All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration