CentOS7中一些重要文件

/etc/                                                                          

/etc/sysconfig/network-scrpts/网卡名     网卡配置文件

/etc/resolv.conf                                     DNS客户端配置文件  网卡配置文件优先此文件

/etc/hostname                  主机名配置文件

/etc/hosts                  DNS 本地解析文件

/etc/fstab                      开机自动挂载文件

/etc/rc.local                  卡机自动启动的文件   他是一个软连接  真正:/etc/rc.d/rc.local

/etc/profile                  环境变量     ~/.bash_profile 个人

/etc/bashrc                    环境变量     ~/.bashrc  个人

/etc/profile.d                    用户登录后执行脚本所在的目录

/etc/issue                   登录前的一些显示信息

/etc/motd                           登录后的一些提示内容

/etc/redhat-release                   系统的版本号

/etc/sysctl.conf                  内核参数

/usr

/usr/local/                               编译软件默认的位置路径

/usr/src/                  存放源码文件的

/var/                                                                                    

/varlog/

message                     系统级日志文件

secure                   安全日志文件

dmesg                   硬件信息加载情况文件

cron                    定时任务日志文件

wtmp                     记录登录者信息的文件

lastlog                   记录用户近期登录情况

/proc

/proc/cpuinfo                  cpu 信息文件

/proc/meminfo                内存信息文件

/proc/loadavg                 系统的平均负载

/proc/monts                   当前设备挂载信息列表

/proc/interrupts                当前系统中断信息文件

原文地址:https://www.cnblogs.com/liuhaobk/p/11661408.html