- 系统用户配置文件 (存储了系统中所有用户的基本信息)
/etc/passwd- 系统密码文件
/etc/shadow- 组基本信息
/etc/group- 主机名配置文件
/etc/hostname- yum仓库配置文件
/etc/yum.repos.d/*.repo- 网卡配置文件
/etc/sysconfig/network-scripts/ifcfg-ens33- .DNS配置文件
/etc/resolv.conf- selinux配置文件
/etc/selinux/config- 系统环境变量
/etc/profile- 系统版本信息
cat /etc/redhat-release- cpu信息
cat /proc/cpuinfo- 存放端口号的配置文件
/etc/service- 当前系统支持的shell类型(只是其中的一部分,还有其他shell在别的路径下)
/etc/shells- 查看系统内核版本
cat /proc/version
uname -a- 资源限制配置文件(最大文件描述符)
/etc/security/limits.conf
16.查看服务默认端口号
/etc/services
16.修改内核参数
/proc/sys/ 临时修改 (修改后立即生效,重启系统后将失效)
/etc/sysctl.conf 永久修改 (重启生效,或执行命令 sysctl -p)
linux30个重要的配置文件
https://linuxconfig.org/linux-configuration-files-top-30-most-important