Javatpoint Logo
Javatpoint Logo

Unix System Resources (/usr)

Although it is pronounced as user but in actual it stands for Unix System Resources. It is also called secondary hierarchy as it contains binaries, libraries, documentation for all the user applications. It only contains shareable read-only data.


Linux fhs unix system resources

Look the above snapshot, command "ls /usr" displays the '/usr' directories.

We'll explain some of the /usr sub-directories:

  • /usr/bin
  • /usr/include
  • /usr/lib
  • /usr/share
  • /usr/local
  • /usr/src


The '/usr/bin' directory contains non-essential binary commands for all users. If you can't find a command in '/bin', search it in '/usr/bin'. It contains a lot of commands.


The '/usr/include' directory contains standard include files for C.


The '/usr/lib' directory contains libraries that are not directly executed by the users. In other words, it contains binaries for the '/usr/bin' and '/usr/sbin'.


The '/usr/share' directory contains architecture independent (shared) data.


The '/usr/local' directory is used to install software locally. It means all the user programs that you'll install from source will be installed here.


The term 'src' is short for source. It is used to store source code like kernel source code with its header files.

Next TopicVariable Directory

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA