- Posts: 17
- Thank you received: 0
what is the use of /usr
- iamprabhu100
- Topic Author
- Offline
- New Member
Less
More
18 years 11 months ago #12205
by iamprabhu100
what is the use of /usr was created by iamprabhu100
Hi Friends,
Can anyone clear my this problem.
What is the difference between /bin and /usr/bin?
Tell me what is the use of /usr directory.
Can anyone clear my this problem.
What is the difference between /bin and /usr/bin?
Tell me what is the use of /usr directory.
18 years 11 months ago #12222
by nske
Replied by nske on topic Re: what is the use of /usr
Hello,
The difference is just organizational. Usually most unix distributions choose to place in the root directories (/bin, /sbin, /lib, ..) only what they consider the most necessary programs and their associated libraries, that one might use to do some basic work (i.e. for troobleshooting purposes) on the system, in a possible event where the /usr directory is inaccessible.
The /usr directories contains usually the files of more than 95% of the installed applications.
Of course there is no necessity for any directories with specific names to even exist, however it has been established as common practice and many programs contain hard-coded references to standard paths, so it would unecessarily complicate things for a distribution to ignore them. Besides the current structure is convenient in multiuser environments, offering greater administration flexibility.
The difference is just organizational. Usually most unix distributions choose to place in the root directories (/bin, /sbin, /lib, ..) only what they consider the most necessary programs and their associated libraries, that one might use to do some basic work (i.e. for troobleshooting purposes) on the system, in a possible event where the /usr directory is inaccessible.
The /usr directories contains usually the files of more than 95% of the installed applications.
Of course there is no necessity for any directories with specific names to even exist, however it has been established as common practice and many programs contain hard-coded references to standard paths, so it would unecessarily complicate things for a distribution to ignore them. Besides the current structure is convenient in multiuser environments, offering greater administration flexibility.
18 years 11 months ago #12227
by gainil
Replied by gainil on topic Re: what is the use of /usr
/usr/bin
This directory contains the vast majority of binaries on your system. Executables in this directory vary widely. For instance vi, gcc, gnome-session and mozilla and are all found here.
for more details visit the following site :
www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/usr.html
also on tldp.org u can find many linux related documents!
This directory contains the vast majority of binaries on your system. Executables in this directory vary widely. For instance vi, gcc, gnome-session and mozilla and are all found here.
for more details visit the following site :
www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/usr.html
also on tldp.org u can find many linux related documents!
Time to create page: 0.117 seconds