Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-26-2002, 12:24 AM   #1
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, 04:09 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
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 ?


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

All times are GMT -5. The time now is 01:55 AM.

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