What is the folder where the linux command is stored
This article mainly explains "what is the folder where the linux command is stored". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the folder where the linux command is stored".
Linux command storage folder: 1, "/ bin" folder, this folder 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 root users.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
Which folder is the linux command in?
Location of the command:
/ bin,/usr/bin, used by all users by default
/ sbin,/usr/sbin, which is used by default root users
If you compile it yourself, for example, mplayer, you make install, you will put the commands under / usr/bin, and you will have to place some of them yourself.
Expand knowledge
The following is the basic directory structure and functions under linux
/: root directory
/ boot: the directory where the bootstrap, kernel, and so on are stored.
/ sbin: the directory where commands can be used by superusers.
/ bin: the directory where commands can be used by ordinary users.
/ lib: the shared library directory of all programs under the root directory.
/ dev: device file directory.
/ home: the home directory of an ordinary user ($HOME directory
/ root: $HOME directory of user root
/ etc: the global configuration file storage directory.
Thank you for your reading, these are the contents of "what is the folder where the linux command is stored". After the study of this article, I believe you have a deeper understanding of what the folder of the linux command is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!