What directory stores basic Linux commands?

王林
Release: 2020-07-18 11:24:32
Original
11493 people have browsed it

The "/bin" directory stores basic Linux commands. The bin directory is mainly used to place necessary executable files for the system, such as cat, cp, chmod, kill, etc. Similar to this, there is the "/sbin" directory, which mainly contains necessary programs for system management, such as cfdisk, dhcpcd, fdisk, etc.

What directory stores basic Linux commands?

#The "/bin" directory stores basic Linux commands.

(Recommended tutorial: linux tutorial)

Related introduction:

In the Linux system, there are two important directories: bin and sbin. Including /bin, /usr/bin/ and /sbin, /usr/sbin/ respectively.

bin directory:

bin is the abbreviation of binary, which mainly places the necessary executable files of the system, such as: cat, cp, chmod df, dmesg, gzip, kill , ls, mkdir, more, mount, rm, su, tar, etc.

/usr/bin directory:

Mainly places the necessary executable files of application tools, such as: c, g, gcc, chdrv, diff, dig, du , eject, elm, free, gnome*, gzip, htpasswd, kfm, ktop, last, less, locale, m4, make, man, mcopy, ncftp, newaliases, nslookup passwd, quota, smb*, wget, etc.

/sbin directory:

Mainly places necessary programs for system management, such as: cfdisk, dhcpcd, dump, e2fsck, fdisk, halt, ifconfig, ifup, ifdown , init, insmod, lilo, lsmod, mke2fs, modprobe, quotacheck, reboot, rmmod, runlevel, shutdown, etc.

/usr/sbin directory:

Mainly places necessary programs for network management, such as: dhcpd, httpd, imap, in.*d, inetd, lpd , named, netconfig, nmbd, samba, sendmail, squid, swap, tcpd, tcpdump, etc.

The above is the detailed content of What directory stores basic Linux commands?. 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