What the different color files in Linux mean

Source: Internet
Author: User
Tags domain name server

The meaning of the Linux file color blue represents the directory green represents the executable file red indicates the compressed file light blue indicates that the link file gray indicates that the other file is flashing red indicates that the linked file has a problem. yellow indicates device file

Blue File----------Directory

White documents----------General documents, such as text files, configuration files, source files, etc.

Light blue files----------linked files, mainly files created using the ln command

Green Files----------executables, programs that can be executed

Red file-----------Compressed file or package file

Types of files represented by characters under Linux

-: Normal file

D: Catalog file

L: Link File

B: Block device files

C: Character device file

P: Pipeline File

Linux File System configuration file

/proc-----An interface provided by the kernel, mainly used to store system statistics;

/etc/mtab--------with the change of/proc/mount, file system installation and uninstallation will be reflected in this document;

/etc/fstab-------Lists all file systems that are installed automatically at startup, or you can use the mount-a command to manually

All file systems listed in this file, or you can modify this profile to automatically install the system at startup

other file systems;

/etc/mtools.conf configuration file for operations on---------DOS file system

Linux System Management configuration file

/etc/group----------Lists the valid group names and the user information in the group;

/etc/passwd---------The password file of the account number;

Account----Password------user number (UID)-----User Group number (GID)----The owning group-----user home Directory---The shell type used by the user

/etc/shadow--------contains the encrypted account information;

/etc/shells-------contains a list of available shells for the system;

/ETC/MOTD---------Daily Information, which is used by the root administrator to communicate information to all users in the system

Linux System command configuration file

The/etc/lilo.conf contains the default boot command line parameters for the system, as well as the different images used at startup. When you are prompted by the LILO guide, press

Tab key to see this list.

/ETC/LOGROTATE.CONF maintains log files in the/var/log directory.

/etc/identd.conf Identd is a super server, this file is for its configuration file.

/etc/ld.so.conf the configuration of the dynamic Link program (Linker).

/etc/inittab in chronological terms, this is the first configuration file in UNIX. The first program that starts after a UNIX machine is opened is

Init, it knows what to start, which is due to the existence of Inittab. When the runlevel changes, Init reads Inittab and then controls the start of the main process

Linux Host configuration file

/etc/host.conf---------Tell the domain name server how to find the host name

/etc/hosts a list of names of discovered hosts---------the network, used to resolve host names

/etc/sysconfig/network Host name and gateway information file

Linux Network configuration file

/etc/gated.conf the configuration of the gated. Can only be used by the gated daemon.

/etc/networks lists the network name and network address that can be accessed from the network to which the machine is connected. Used by routing commands. Allow network access

Name.

/etc/protocols enumerates the currently available protocols.

/etc/resolv.conf tells the kernel which name server to query when the program requests "resolve" an IP address.

The/ETC/RPC contains RPC directives/rules that can be used in NFS calls, remote file system installations, and so on.

/etc/exports the file System (NFS) to export and the permissions to it.

/etc/services converts the network service name to a port number/protocol. Read by inetd, Telnet, tcpdump, and some other programs. There are some C access routines.

What the different color files in Linux mean

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.