the /usr directory is used to contain programs, libraries, and documents that most users on the system should have access to.
/usr/bin /usr/sbin
To change to the /usr directory using an absolute pathname, you would use the command cd /usr. This command specifies the full path to the usr directory from the root of the filesystem. Ensure you have the necessary permissions to access that directory.
Several directories can be used to store executables, including /bin, /sbin, and /usr/bin.
/ The root directory. All other directories are under this one./boot The kernel image, bootloader, and are stored here./etc Many of Linux's configuration files, including kernel module configuration./bin, /usr/bin, /usr/sbin Any of these "bin" directories will hold executable binaries (i.e. program commands)./usr This holds most user applications, documentations, graphics, etc./lib, /usr/lib Important system libraries are stored here./root The system administrator's home directory./home All other home directories for all users are here. For example, a user's home directory might be /home/user./var Variable data, such as mail spools, log files, etc./tmp Temporary files created and used by applications./dev Devices are setup in this directory./mnt Mount points for filesystems, whether physical or virtual./proc This is a virtual directory which contains information about the kernel/lost+found Files that might have been recovered after a bad shutdown or other event might show up in the lost and found.
There a a minimum number of files in the root directory - usually a link to the core kernel image and several sub-directories (the rest of the file system, such as bin, etc, usr, etc.). The maximum number varies depending on the environment.
"cd" with no directory takes you to your home (login) directory. In a path, ~ (tilde) means your home directory, ~usr means the home directory of user usr. For example, "cp ~/foo ~john" copies file foo from your home directory to john's.
All Unix systems provide a 'find' command that searches for specific files in a given directory. To find a file that has the word "foo" in the /usr directory, I would type: $ find /usr -name *foo* For more information, see 'man 1 find'.
Directories, like /usr/include or C:\MYCOMPILER\INCLUDE
You have to specify where the include-directories are.Example for gcc: -I/usr/local/include -I/usr/include
The root directory is the top level directory of the entire file system. Every branch starts from there. The current working directory is where you happen to be in the tree at the moment. If the root is always "/" and my process is in the directory /usr/local/bin/test/data, then the root directory is still "/" and my working directory is currently /usr/local/bin/test/data
It is the path as relative to the topmost directory, /. For example, /usr/bin is absolute, but ../bin is relative (Means "the directory 'bin' in the parent of the current directory.")
Application binaries in Linux distributions (including openSUSE) are stored in several directories, depending on their purpose or method of installation. These are: /sbin /bin /usr/bin /usr/sbin /usr/local/bin