Re: [newbie] Configuration Files (repost)
> 1. What does "rc" stand for, as opposed to "conf"? Originally it is derived from Multics 'runcom' files, which (I guess) were similar to batch files / scripts. Nowadays, it's just a resource/ configuration file, kinda similar in concept to an .INI in Windows. > 2. I read that /etc is for "miscellaneous files"...isn't it *only* for > configuration files? I haven't checked the LFS (Linux File Standards) on this, but it would seem that /etc is only for configuration files of a global nature. In earlier usage, /etc was more a hodgepodge, a place to store something that was for global use, but was inappropriate to place elsewhere. That's why we still have things like /etc/issue, /etc/MOTD, and the like. (Even 'mount' and other admin tools used to live in /etc at one point.) > 3. Global user settings are stored in /etc, while personal ones are > stored as > /home/username/.somethingrc, right? Mostly. At least that's the way it's supposed to work. More complicated things are stored in a hidden directory off of the user's home directory, rather than in a single hidden file. > George > ([EMAIL PROTECTED]) David E. Fox Thanks for letting me [EMAIL PROTECTED]change magnetic patterns [EMAIL PROTECTED] on your hard disk. --- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuration Files (repost)
Arthur H. Johnson II [EMAIL PROTECTED] The Linux Box http://www.linuxbox.nu On Fri, 31 Aug 2001, Isaac Curtis wrote: > (I'm reposting this because it never got answered and I had flagged it > because I was waiting to hear a response. Thanks to anyone who can help. > > - Isaac) > > Hello! > > In my system, I see .bashrc, .dosemurc, .kderc, /etc/bashrc, /etc/inputrc, > /etc/rc.d etc. etc. etc. > > 1. What does "rc" stand for, as opposed to "conf"? conf = configuration, and usually contain configuration files. rc is pretty much the same thing. > > 2. I read that /etc is for "miscellaneous files"...isn't it *only* for > configuration files? Traditionally /etc contains configuration files, but it also contains boot up scripts, etc. > > 3. Global user settings are stored in /etc, while personal ones are > stored as > /home/username/.somethingrc, right? Yes. > > Any help is appreciated! > > Thanks, > George > ([EMAIL PROTECTED]) > > > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuration Files (repost)
on 8/31/01 1:13 PM, Tim Holmes at [EMAIL PROTECTED] wrote: > Well I have no idea why .*rc files are used. But I know they're > basically "personal config" files. rc stands for resource configuration. Matt _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Configuration Files (repost)
Well I have no idea why .*rc files are used. But I know they're basically "personal config" files. /etc is basically full of config files and information files. There are some scripts in there to start services. Things like /etc/modules.conf are really just informational config files. You can edit that yourself, but for the most part, Linux is what makes changes to that. But there are still things like /etc/sendmail.cf, or /etc/hosts, /etc/bashrc. If you go into /etc/init.d you will find the scripts that are used to restart services. Like /etc/init.d/network, sshd, http, postfix and more. You can do a ls in /etc/init.d to see everything in there. .*rc files that are in $HOME, are used to over ride the default *rc files. If you check, there's already a /etc/bashrc, and more. Those are looked at as soon as you get a prompt, or as soon as you run an app. Those are the defaults. Now you can edit those, but if you have several users on that one machine, they may like/want the changes you made to the config file. So you make changes to the $HOME/.bashrc instead of /etc/bashrc. The $HOME/.bashrc and files of that nature are copied into the home directories when the user is created. Those files are copied directly from /etc/skel. On FreeBSD, it will actually ask you if you would like the skel files to be copied, and you can say yay, or nay. In Linux, it does it with out asking. I'm not sure if the person that posted this message to start out with will see this, but I hope this answers somebody's questions. tdh -- T. Holmes - UNIXTECHS.org [EMAIL PROTECTED] - "Real Men Use Vi!" Uptime: 2:04pm up 15 days, 19:49, 9 users, load average: 0.00, 0.00, 0.00 | (I'm reposting this because it never got answered and I had flagged it | because I was waiting to hear a response. Thanks to anyone who can help. | | - Isaac) | | Hello! | | In my system, I see .bashrc, .dosemurc, .kderc, /etc/bashrc, /etc/inputrc, | /etc/rc.d etc. etc. etc. | | 1. What does "rc" stand for, as opposed to "conf"? | | 2. I read that /etc is for "miscellaneous files"...isn't it *only* for | configuration files? | | 3. Global user settings are stored in /etc, while personal ones are | stored as | /home/username/.somethingrc, right? | | Any help is appreciated! | | Thanks, | George | ([EMAIL PROTECTED]) | -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Configuration Files (repost)
(I'm reposting this because it never got answered and I had flagged it because I was waiting to hear a response. Thanks to anyone who can help. - Isaac) Hello! In my system, I see .bashrc, .dosemurc, .kderc, /etc/bashrc, /etc/inputrc, /etc/rc.d etc. etc. etc. 1. What does "rc" stand for, as opposed to "conf"? 2. I read that /etc is for "miscellaneous files"...isn't it *only* for configuration files? 3. Global user settings are stored in /etc, while personal ones are stored as /home/username/.somethingrc, right? Any help is appreciated! Thanks, George ([EMAIL PROTECTED]) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com