Help answer threads with 0 replies.
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 02-14-2004, 08:29 PM   #1
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Rep: Reputation: 47

Where does linux keep all the startup shortcuts? Like in windows it's in the registry, start menu startup folder etc... I can't seem to find where linux keeps it. Thanks!
Old 02-14-2004, 08:41 PM   #2
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
You'll find these types of things (system configuration information) in /etc. It's been a while since I used RH, but if I'm not mistaken, they use rc.d, rc.0, rc.1, and so on for specific runlevel defaults. (Runlevels are pretty simple. 0 is shutdown, 6 is reboot, 3 is usually command line, 1 is something like a super safe (no gui, no network) mode, and 5 is GUI.) rc.d is usually defaults for all runlevels.

So, just change to the /etc directory, and then to the appropriate directory (rc.d, rc.5, or similar for a basic system), and look through those files. They are all pretty basic script files, and you can use the man pages to understand them better. Also, there might be some in your home directory, as "." files. (' ls -d .* ' will list them for you.)
Old 02-14-2004, 11:00 PM   #3
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Original Poster
Rep: Reputation: 47
thanks I'll check it out. When you say script, is it the same thing as an ms dos batch file, but for linux?
Old 02-15-2004, 12:04 AM   #4
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
i guess you could look at a bash script as being equivalent to a dos batch file. but the files inside the rc.0, rc.1, rc.2, etc... are shortcuts to the shellscripts in /etc/rc.d/init.d - but when linux boots, it uses the ones in rc.X (where X is the number equivalent to your run level) to control the order of which scripts are run. if you want to add a process to start up during boot, redhat provides a generic script that's run last during the boot process called /etc/rc.d/rc.local - that's probably where you want to add a process to the boot start up. btw, what's up red. long time no talk.

edit: oh yeah, add the distros you're using in your profile. it'll help when you forget to tell us what distro you're using in your posts.

Last edited by megaspaz; 02-15-2004 at 12:06 AM.


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
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 12:50 AM
why does eth01 fail on startup and delay startup? infantpenguin Linux - Newbie 3 01-28-2005 10:45 AM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 04:15 PM
startup gdds Linux - Newbie 4 06-22-2004 03:19 PM
How to get IP on startup? lqx84 Linux - Wireless Networking 11 01-27-2004 08:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 PM.

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