LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 06-27-2005, 04:51 AM   #1
aru_04
LQ Newbie
 
Registered: Nov 2004
Posts: 24

Rep: Reputation: 15
Unhappy 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?
 
Old 06-27-2005, 05:35 AM   #2
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
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.
 
Old 06-27-2005, 07:26 AM   #3
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
/misc is often use as a base mount point for "miscelanous" peripherals using the automounter (see "autofs" kernel module).

Yves.
 
Old 06-27-2005, 08:57 AM   #4
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
Quote:
Originally posted by Hosiah
[...]
/usr: "user". Practically a whole other system in [...]
Actually, /usr stands for Unix System Resources.
 
Old 06-28-2005, 05:26 AM   #5
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
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!
 
Old 06-28-2005, 10:11 AM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Rep: Reputation: 180Reputation: 180
This is an interesting read:

Ancient Linux Abbreviations
 
Old 06-28-2005, 12:22 PM   #7
broggyr
Member
 
Registered: May 2005
Location: CT
Distribution: Lubuntu
Posts: 32

Rep: Reputation: 15
Very interesting & informative thread, as I had the same /etc question myself this very morning
 
Old 06-29-2005, 03:17 AM   #8
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
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.
 
Old 06-29-2005, 05:21 AM   #9
broggyr
Member
 
Registered: May 2005
Location: CT
Distribution: Lubuntu
Posts: 32

Rep: Reputation: 15
I was almost sure that /usr was "user" -- shows ya what happens when you assume
 
Old 06-30-2005, 02:27 AM   #10
aru_04
LQ Newbie
 
Registered: Nov 2004
Posts: 24

Original Poster
Rep: Reputation: 15
thanks everybody, particularly Hosiah!
 
Old 03-04-2008, 04:32 PM   #11
gcarrillo
LQ Newbie
 
Registered: Mar 2008
Location: Austin, TX
Distribution: Ubuntu, Solaris
Posts: 4

Rep: Reputation: 0
/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...
 
Old 03-04-2008, 05:18 PM   #12
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
/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.
 
Old 03-05-2008, 10:00 AM   #13
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Rep: Reputation: 34
Probably not the official meaning, but I have seen etc referred to as "editable text configuration".
 
Old 03-05-2008, 10:50 AM   #14
gcarrillo
LQ Newbie
 
Registered: Mar 2008
Location: Austin, TX
Distribution: Ubuntu, Solaris
Posts: 4

Rep: Reputation: 0
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.
 
Old 03-05-2008, 11:33 AM   #15
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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
 
  


Reply

Tags
downloading, friends, how, nano, schedule


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what does the T in T1 stand for? jmral23 Linux - Networking 7 11-23-2009 07:22 AM
I can stand it no longer! The_Landlord Linux - Newbie 2 01-30-2005 11:42 AM
Stand By? driftingremains Linux - General 3 01-11-2004 11:46 AM
what does rc.d stand for? german Linux - General 4 11-13-2003 07:55 AM
Can't stand RPMs needamiracle Linux - General 25 09-12-2002 05:10 AM


All times are GMT -5. The time now is 03:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration