LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-25-2002, 11:24 PM   #1
tommylkc
LQ Newbie
 
Registered: Jun 2002
Location: Hong Kong
Posts: 7

Rep: Reputation: 0
How can the linux OS run script automatically at startup?


How can the linux OS run script automatically at startup? (say, "ipchains -F")

I know that windows can do such thing by editing autoexec.bat. What is the solution for linux?
 
Old 06-26-2002, 03:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Usually in your startup scripts in /etc/rc.d and you can specify certain programs in your rc.local file..

What distro do you run ?
 
  


Reply



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
Run shell script as root automatically elempoimen Linux - Software 8 06-20-2010 01:24 AM
Automatically run scripts on startup? Phaethar Fedora 10 09-24-2004 02:35 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
How do I get Fedora to automatically run a command during startup? jlsain Linux - Software 2 03-23-2004 04:03 AM
Script to automatically config eth0 at startup jhachey Linux - Networking 2 11-03-2003 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:30 PM.

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
Open Source Consulting | Domain Registration