• /etc is used to store system configuration information such as security and daemon settings.

    /usr is used to hold non-system software.

    The user profile configurations are stored in each user's home directory under the /home directory.

    Answered by mfillpot
    4 years ago
    1 1
  • Accepted Answer

    Note that "usr" is actually not an abbreviation of "user", but an acronym for "Unix System Resources" - that's where all the non-essential software was placed on a conventional Unix system. /etc on the other hand, is used not for software, but for system-wide configuration files.

    You can use the command `man hier` in a terminal in order to get a description of what the folders in a standard Unix file system hierarchy is used for.

    Answered by jabirali
    4 years ago
    0 3
  • The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary.where as /usr/ contains several other directory like is basically contain the user progrms and user home directory(current working directory) Created by the system administrator.

    Answered by ak kumar
    4 years ago
    1 0
  • /etc is for configuration

    /usr contain the program non system . there is more file for user

    Answered by
    4 years ago
    1 0
  • To understand these names, you'll need to look back at the history.

    /etc contains the static identity of the system, as expressed in configuration files. The dynamic aspects of the system's identity are generally in /var. These are two of the key directories which are not shared with other machines, in contrast to /bin, /usr, and other which are machine-identity-neutral and therefore sharable over NFS and the like.

    /usr was originally the directory containing users in the 1970s, and its name is directly related to that purpose. Similar directories from the same time frame were things like /u0, /u1, and so on when the number of users grew higher. System utilities were in /bin and so on - /usr/bin didn't exist yet. Later, as those users (luminaries like Kernighan, Ritchie, Bourne, etc, many at Bell Labs, and others less well known) wrote extensions to the underlying system - especially at sites outside of Bell Labs like Berkerley and others where changing /bin might interfere with updating the distro later) - additional directories like /usr/bin (shared, user-added binaries) appeared. Over time, *that* distribution got picked up somewhere else, and at these new places, /usr/local/bin or its like appeared. Since /usr was effectively a system directory anywhere outside of where UNIX began, it was normal to put users elsewhere, and the convention of /home become fairly common in the 1990s. /home was often not itself the directory containing user homes, but often a collection of symlinks (or mountpoints) out to where the real homes were, scattered around the network. Thus a user could log into any network host, go to /home/, and be in the correct home directory regardless of what other host's drive it was really on.

    The comment the the "usr" stands for something is an ex-post-facto rationalization, not the reality.

    Most modern linux users are blissfully unaware of issues in sharing resources like home directories across scores or hundreds (or thousands, say at MIT Athena) of machines. Even developers often code unaware of the possibility of the same config files in a user's account being used from two or more computers at the same time - Firefox doesn't get it, lamely offering only profiles as a enabler. Oh well.

    Anyway hope this helps :-) And remember, don't put filename extensions on your scripts, its a Bad Thing.

    Answered by erlkonig
    4 years ago
    0 1
  • Errata: /home/ should have been /home/USERNAME - the post system silently ate the less/greater-than. "Berkeley" is the correct spelling.

    Answered by erlkonig
    4 years ago
    0 0
  • Heh. And /etc *did* once contain software - mostly programs for manipulating the other /etc files. Those were generally moved later into /bin, /sbin, /usr/bin, or /usr/sbin, as appropriate on different systems, although symlinks were left in the old locations for years.

    Answered by erlkonig
    4 years ago
    0 0
Similar Questions Found
Questions from category Systems Management

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    09 Feb » 10 Feb - Virtual
  2. LFD312 Developing Applications For Linux
    16 Feb » 20 Feb - Atlanta - GA
  3. LFD331 Developing Linux Device Drivers
    16 Feb » 20 Feb - San Jose - CA

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board