Home > Operation and Maintenance > Linux Operation and Maintenance > In which folder are the linux commands located?

In which folder are the linux commands located?

WBOY
Release: 2022-04-12 10:55:29
Original
8040 people have browsed it

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.

In which folder are the linux commands located?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Which folder is the linux command in?

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.

In which folder are the linux commands located?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template