Home > Article > Operation and Maintenance > In which folder are the linux commands located?
The folder where Linux commands are stored: 1. "/bin" folder, which is used to store commands that ordinary users can use, as well as commands compiled by themselves; 2. "/sbin" folder, This folder is used to store commands used by the root user.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
The location of the command:
/bin,/usr/bin, which is used by all users by default,
/sbin,/usr/sbin, used by root user by default,
If you compile it yourself, for example, mplayer, you make install, The commands will be placed under /usr/bin, and you need to place some yourself.
Expand knowledge;
The following is the basic directory structure and function under Linux
/
: root directory .
/boot
: Directory where the boot program, kernel, etc. are stored.
/sbin
: The storage directory for commands that super users can use.
/bin
: The storage directory for commands that ordinary users can use.
#/lib
: The shared library directory of the program under the root directory.
#/dev
: Device file directory.
/home
: The home directory of ordinary users ($HOME directory
/root
:$HOME directory of user root
/etc
: Global configuration file storage directory.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of In which folder are the linux commands located?. For more information, please follow other related articles on the PHP Chinese website!