1: I/usr
The /usr mean in Linux is nothing but a directory which usually called as "User Programs". It comprises with several sub-directories and that contains binary files, lib files, doc files and the source code.
/usr/bin which contains all the binary files for the user related programs. In some distors we cannot find the root directory of bin which is usually comes under "/bin", hence you can look into the /usr/bin. Eg: at, curl, dd, df ,etc
/usr/sbin which also contains the binary file for the Administrators. Means for any system related commands can be find under this directory. Eg: fdisk, cron, ip6tables, lsmod , etc.
/usr/lib which contains all the libraries for the /usr/bin and /usr/sbin
/usr/local which contains the users related programs, which means when you install anything from the source it may goes directly to the /usr/local/xxxx
2: /var
https://www.javatpoint.com/linux-fhs-variable-directory#:~:text=Variable%20Directory%20(%2Fvar),spool%20files%20and%20cache%20files.
Comments
Post a Comment