Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-27-2005, 04:51 AM
|
#1
|
|
LQ Newbie
Registered: Nov 2004
Posts: 24
Rep:
|
what does etc stand for?
greetings everybody,
what does 'etc' stand for ,as in /etc ?
does it mean the simple 'etcetera' or is it some other abbreviation?
|
|
|
|
06-27-2005, 05:35 AM
|
#2
|
|
Member
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185
Rep:
|
Yes, etc stands for "etcetera" (-:
It's purpose in life is to host various configuration files from around your system. For instance, to add a new hard drive to your system and have Linux auto-mount it on boot, you'd have to edit /etc/fstab. If you use lynx and don't like the color scheme, you change it in /etc/lynx.conf. And so on...
While we're at it: The common Linux/Unix system folders:
/bin: where binary programs live.
/boot: the special programs that start the system when you turn the machine on.
/dev: aaaaaalll the "device" listings for hardware of every concievable flavor, along with some "imaginary" devices,
lile /dev/null and /dev/zero. When you get a random number it usually comes from /dev/random.
/etc: configuration files.
/home: the user's directories live here.
/lib: the library files that programs need to run, if they are compiled to link against these libraries.
/lost+found: look here after a system crash/kernel panic or other extreme scenario to find "orphaned" files.
/misc: kinda reminds you of /etc, doesn't it? Every time I see this folder on a system, it's empty, but I ascertain that
it stands for "miscellaneous", and I think it may be a place for users to keep their own "/etc" type files?
/mnt: "mount", the directory that acts as a gateway to every other disk or file system. Floppies are accessed from
/mnt/floppy, your second hard drive might be /mnt/hd here, and so on.
/opt: "optional", where programs that are installed after the initial system install sometimes end up.
/proc: running "processes". The "everything is a file" paradigm carried to the Linux degree! This folder hosts files
which keep tabs on boring stuff like what daemons are running and the process ID of Emacs while you have
Emacs open.
/root: root's home!
/sbin: the "system-administrator's bin file", which hosts programs that would be in /bin if they didn't have "root-only"
access permissions.
/tmp: "temporary" files, of use by programs which need to throw together a data file on-the-fly in preperation for
executing some other task. This folder gets flushed on reboot.
/usr: "user". Practically a whole other system in here, /usr/bin is still more binaries, /usr/doc and /usr/share/doc are
documentation folders, /usr/share/games/fortune is where the funny quotes come from when you log on (if
that feature is enabled). The idea is that this should be where files/programs accessible by all users should
be, and thus your desktop backgrounds come from /usr/share/wallpapers, or such. The other case is newly
installed programs sometimes end up in /usr/local/bin.
/var: "variable". System logs in here, recording such things as the last foo commands typed at the prompt, start-up
boot messages, and such.
The whole file system evolved by consensus over eons, and is usually consistent from one distro to another. The burden is also on developers writing install applications to use this file system, and not make up weird folder schemes on their own. As for users, they have complete freedom to do whatever they want in their own directory.
|
|
|
|
06-27-2005, 07:26 AM
|
#3
|
|
Senior Member
Registered: Jul 2004
Location: Nantes (France)
Distribution: Arch Linux
Posts: 1,897
Rep:
|
/misc is often use as a base mount point for "miscelanous" peripherals using the automounter (see "autofs" kernel module).
Yves.
|
|
|
|
06-27-2005, 08:57 AM
|
#4
|
|
Member
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274
Rep:
|
Quote:
Originally posted by Hosiah
[...]
/usr: "user". Practically a whole other system in [...]
|
Actually, /usr stands for Unix System Resources.
|
|
|
|
06-28-2005, 05:26 AM
|
#5
|
|
Member
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185
Rep:
|
OK, that's 14 out of 16, for a score of 87.5%, a B+ as I recall.
I'll quit while I'm ahead! 
|
|
|
|
06-28-2005, 10:11 AM
|
#6
|
|
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,335
Rep: 
|
This is an interesting read:
Ancient Linux Abbreviations
|
|
|
|
06-28-2005, 12:22 PM
|
#7
|
|
Member
Registered: May 2005
Location: CT
Distribution: Lubuntu
Posts: 32
Rep:
|
Very interesting & informative thread, as I had the same /etc question myself this very morning 
|
|
|
|
06-29-2005, 03:17 AM
|
#8
|
|
Member
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185
Rep:
|
Yeah, but "Unix System Resources"! What a curve ball! I'm positive I've heard other people refer to that directory by pronouncing it "user", too. One of those mistaken assumptions you pick up...
This thread isn't complete without mentioning the old bumper sticker:
"f u cn rd ths, u mst us nx!"
Which I think is due for a revival.
|
|
|
|
06-29-2005, 05:21 AM
|
#9
|
|
Member
Registered: May 2005
Location: CT
Distribution: Lubuntu
Posts: 32
Rep:
|
I was almost sure that /usr was "user" -- shows ya what happens when you assume 
|
|
|
|
06-30-2005, 02:27 AM
|
#10
|
|
LQ Newbie
Registered: Nov 2004
Posts: 24
Original Poster
Rep:
|
thanks everybody, particularly Hosiah!
|
|
|
|
03-04-2008, 04:32 PM
|
#11
|
|
LQ Newbie
Registered: Mar 2008
Location: Austin, TX
Distribution: Ubuntu, Solaris
Posts: 4
Rep:
|
/usr is "user"!
I too have heard people at times pronounces /usr as "u-s-r", believing that it stands for Unix System Resource. I personally disagree with this belief, and pronounce it as "user" myself. I think this because for all abbreviations I've come across in Unix, they make sense when expanded...however this one would not. "Unix System Resources" could refer to any other part of the system just as easily as it could for /usr, so I'd have to say it cannot stand for that. The File System Hierarchy Standard says that /usr is for read-only, shareable data. Shareable among different users...so that further supports the case for "user" in my mind...
|
|
|
|
03-04-2008, 05:18 PM
|
#12
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
/usr is totally user-agnostic so what could it have to do with "user"? As for the FHS, I don't recall that being around back in the early seventies.
|
|
|
|
03-05-2008, 10:00 AM
|
#13
|
|
Member
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257
Rep:
|
Probably not the official meaning, but I have seen etc referred to as "editable text configuration".
|
|
|
|
03-05-2008, 10:50 AM
|
#14
|
|
LQ Newbie
Registered: Mar 2008
Location: Austin, TX
Distribution: Ubuntu, Solaris
Posts: 4
Rep:
|
Still think it's "user" :)
/usr contains objects that support operations performed by users with the regular priveleges. Objects higher than /usr in the root filesystem support operations performed by the system, and usernames that are system-related. That is the abstraction that I use. Moreover, the fact that the FSH wasn't around in the early seventies has no bearing on whether or not it documented the intended purpose of that subtree correctly.
|
|
|
|
03-05-2008, 11:33 AM
|
#15
|
|
Registered User
Registered: Dec 2006
Posts: 1,454
Rep:
|
It is USER...
1.17. /usr
/usr usually contains by far the largest share of data on a system. Hence, this is one of the most important directories in the system as it contains all the user binaries, their documentation, libraries, header files, etc.... X and its supporting libraries can be found here. User programs like telnet, ftp, etc.... are also placed here. In the original Unix implementations, /usr was where the home directories of the users were placed (that is to say, /usr/someone was then the directory now known as /home/someone). In current Unices, /usr is where user-land programs and data (as opposed to 'system land' programs and data) are. The name hasn't changed, but it's meaning has narrowed and lengthened from "everything user related" to "user usable programs and data". As such, some people may now refer to this directory as meaning 'User System Resources' and not 'user' as was originally intended.
http://tldp.org/LDP/Linux-Filesystem.../html/usr.html
Cheers
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|