In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what the etc directory under Linux is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
About ETC the "etc" in "etc/bin" really stands for "etcetera" (add-ons). In early Unix systems, the most important directory was the "bin" directory ("bin" is the "binaries" binary-an acronym for compiled programs), and "etc" contained trivial programs such as startup, shutdown, and management. The list of things necessary to run a Linux is: a binary program, etcetera,etcetera--, in other words, is a low-level important project, usually adding some less important bits and pieces. Today, "etc" contains a wide range of system configuration files, which cover almost every aspect of the system configuration, which is also very important.
The ETC directory details / etc directory contains many files. Many network configuration files are also in / etc.
/ etc/rc or/etc/rc.d or/etc/rc*.d starts, or changes the directory of the scripts or scripts that runs at the runtime.
/ etc/passwd user database, where the domain gives the user name, real name, home directory, encrypted password and other user information.
/ etc/fdprm floppy disk parameter table. Describe different floppy disk formats. Set with setfdprm.
The / etc/fstab startup mount-a command (in / etc/rc or equivalent startup file) automatically mount the list of file systems. Linux also includes information about the swap area enabled with swapon-a.
/ etc/group is similar to / etc/passwd, but it is not about users but about groups.
Configuration file for / etc/inittab init.
The output of / etc/issue getty before the login prompt. It usually includes a short description or welcome message of the system. The content is determined by the system administrator.
Configuration file for / etc/magic file. Contains descriptions of different file formats, based on which file guesses the file type.
/ etc/motd Message Of TheDay, automatically output after successful login. The content is determined by the system administrator. It is often used to announce information, such as a warning of a planned shutdown time.
/ etc/mtab list of currently installed file systems. Initialized by scripts and automatically updated by the mount command. Use when you need a list of currently installed file systems, such as the df command.
/ etc/shadow the shadow password file on the system where the shadow password software is installed. The shadow password file moves the encrypted password from the / etc/passwd file to / etc/shadow, which is readable only to root. This makes deciphering the password more difficult.
Configuration file for the / etc/login.defs login command.
/ etc/printcap is similar to / etc/termcap, but for printers. The grammar is different.
A file executed by Bourne or Cshells when / etc/profile, / etc/csh.login, / etc/csh.cshrc logs in or starts. This allows the system administrator to establish a global default environment for all users.
/ etc/securetty confirms the secure terminal, that is, which terminal allows root to log in. Generally only virtual consoles are listed, so it is impossible (at least difficult) to break into the system through modem or network and get super user privileges.
/ etc/shells lists trusted shell.chsh commands that allow users to change login shell within the scope specified in this file. The service process ftpd that provides a machine FTP service checks whether the user shell is listed in the / etc/shells file, and if not, the user will not be allowed to log in.
/ etc/termcap
As the hardware moves in and out of the computer, these names will become more blurred. Fortunately, today's high-level software blocks on Linux have easy-to-understand names for history and hardware use. For example, um, Pango (http://www.pango.org/)) is one of them.
The above is all the contents of the article "what is the etc directory under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.