Linux下的主要文件

Linux下的主要文件的功能简要描述

--转自 http://www.linuxsir.org/bbs/showthread.php?t=219222

 

/boot/grub/grub.conf GRUB 配置文件
/boot/module-info-* 内核心模块信息文件
/boot/System.map-* 内核映像文件
/boot/vmlinuz-* 内核
/etc/aliases 邮件别名
/etc/at.deny 被拒使用at命令的用户ID列表
/etc/auto.master 自动加载文件系统(如光驱)的配置文件
/etc/auto.misc 自动加载文件系统的文件
/etc/bashrc Bash shell的配置文件
/etc/cron.daily/* 计划任务—每日执行,配置文件目录,用户级
/etc/cron.hourly/* 计划任务—每小时执行,配置文件目录,用户级
/etc/cron.monthly/* 计划任务—每月执行,配置文件目录,用户级
/etc/cron.weekly/* 计划任务—每周执行,配置文件目录,用户级
/etc/crontab 计划任务,系统级
/etc/cups/* 打印机配置文件
/etc/default/useradd 创建新用户的默认配置文件,可以配置新用户创建的环境
/etc/DIR_COLORS 目录列表的颜色配置
/etc/exports NSF服务配置文件
/etc/filesystems Linux支持的文件系统类型
/etc/fstab Linux中文件系统挂载点及分区配置文件
/etc/group 组配置温家
/etc/host.conf DNS客户端配置温家
/etc/hosts IP地址和主机名映射配置文件,一种类似DNS的解析方式
/etc/hosts.allow 允许登录到本机网络服务的计算机
/etc/hosts.deny 不允许登录到本机网络服务的计算机
/etc/httpd/conf/* Apache web服务配置文件目录
/etc/httpd/httpd.conf Web服务主要配置文件
/etc/init.d/* 系统初始化脚本存放目录
/etc/initlog.conf 日志配置文件
/etc/inittab Init进程配置文件,影响系统启动。
/etc/issue 本地用户登陆后显示的内核版本信息说明信息
/etc/issue/net 远程用户的登录后的内核版本说明信息
/etc/ld.so.conf 共享库配置文件,开发用。
/etc/login.defs 创建用户及用户相关命令用的默认配置文件。
/etc/logrotate.conf 日志回滚配置文件
/etc/logrotate.d/* 日志回滚脚本
/etc/mail/* 邮件服务相关配置文件
/etc/mailcap 邮件的MIME 信息
/etc/man.config man 手册配置文件
/etc/mime.types MIME 类型列表
/etc/mime-magic* MIME 数据对应编号
/etc/minicom.users 允许使用minicom(超级终端)的用户ID列表
/etc/modules.conf 内核模块配置文件
/etc/motd 登录后显示的欢迎信息
/etc/mtab 已经挂载的文件系统信息
/etc/nsswitch.conf DNS客户端配置文件
/etc/openldap/* 开放LDAP 相关配置文件
/etc/pam.d/* PAM相关配置文件
/etc/paper.config 页面配置文件
/etc/passwd 用户帐户配置文件
/etc/ppp/* PPP 拨号连接配置文件
/etc/printcap 打印机选项及兼容列表
/etc/profile 用户缺省配置(BASH shell)
/etc/profile.d/* Shell初始化文件
/etc/protocols 协议命名与编号
/etc/pwdb.conf pwdb 库及配置文件
/etc/rc 系统启动与关闭的脚本
/etc/rc.local 本地启动脚本
/etc/rc.sysinit 系统初始化文件
/etc/rc?.d/* 服务的在各个运行级别的启动和停止脚本
/etc/rpc RPC 程序数据库
/etc/rpm/* RPM 数据库及配置文件
/etc/samba/* Samba 服务配置文件
/etc/securetty 安全帐户文件,如Root登录的限制等
/etc/security/* PAM 配置文件
/etc/sensors.conf libsensors 配置文件
/etc/services 标准服务名称及编号
/etc/shadow 用户密码文件
/etc/skel 新创建用户默认自动复制的文件目录
/etc/ssh/* SSH 配置文件
/etc/sysconfig/* 系统相关配置文件
/etc/sysconfig/network-scripts/* 网卡配置文件
/etc/sysctl.conf sysctl IP转发,路由相关配置
/etc/syslog.conf 系统日志进程配置文件
/etc/termcap 终端兼容及选项
/etc/updatedb.conf 软件包及自动更新配置文件
/etc/wvdial.conf GNOME 每日执行任务配置文件
/etc/X11/applnk/* X window应用程序快捷方式
/etc/X11/fs/config X window字体服务配置文件
/etc/X11/gdm/* GNOME 显示配置文件
/etc/X11/prefdm 显示管理配置文件
/etc/X11/xdm/* X window显示管理配置文件
/etc/X11/XF86Config X window配置文件
/etc/X11/xinit/Xclients xinit的缺省脚本
/etc/X11/xinit/xinitrc X 回话的初始化脚本
/etc/X11/Xmodmap xdm 与 xinit使用的键盘映像配置
/etc/xinetd.conf Xinetd配置文件
/etc/xinetd.d/* xinetd 中某个服务的配置文件
/home/*/public_html 用户网站根
/root/.bash_history 管理员的命令历史记录文件
/root/.bash_logout 管理员的退出脚本
/root/.bash_profile 管理员的初始化脚本
/root/.bashrc 管理员的bash配置脚本
/root/.Xresources 管理员的X window配置参数
/usr/share/config/* 杂项配置文件
/usr/share/fonts/* 字体文件夹
/usr/share/ssl/openssl.cnf SSL安全连接配置文件
/usr/X11R6/lib/X11/app-defaults/* X window的默认配置参数
/usr/X11R6/lib/X11/fonts/* X window的字体文件夹
/var/log/cron Cron计划任务的日志文件夹
/var/log/httpd/access_log 访问http服务的日志文件
/var/log/httpd/error_log http错误日志
/var/log/boot.log Linux启动过程记录日志
/var/log/cron 计划任务cron执行的日志
/var/log/dmesg 内核信息日志,启动时候产生。
/var/log/lastlog 上次登陆日志
/var/log/maillog 邮件传输日志
/var/log/messages 系统日志
/var/log/samba/* Samba 日志
/var/log/secure 系统安全日志
/var/log/up2date 软件更新日志
/var/www/cgi-bin CGI 配置脚本
/var/www/html/* 网站相关网页

 

 

/boot/grub/grub.conf GRUB configuration file
/boot/module-info-* Module information for the Linux kernel
/boot/System.map-* Map of the Linux kernel
/boot/vmlinuz-* Linux kernel
/etc/aliases Mail aliases
/etc/at.deny User IDs of users forbidden to use the at command
/etc/auto.master Configuration file for the autofs daemon, which automatically mounts filesystems
/etc/auto.misc Automounter map file
/etc/bashrc                 Systemwide functions and aliases for the bash shell
/etc/cron.daily/* Daily cron jobs
/etc/cron.hourly/* Hourly cron jobs
/etc/cron.monthly/* Monthly cron jobs
/etc/cron.weekly/* Weekly cron jobs
/etc/crontab System cron file
/etc/cups/* Printer configuration files
/etc/default/useradd Defaults for the useradd command
/etc/DIR_COLORS Directory listing colors
/etc/exports NFS exported directories
/etc/filesystems Supported filesystem types
/etc/fstab                 Filesystems mounted or available for mounting
/etc/group                 System group definitions
/etc/host.conf Resolver configuration file
/etc/hosts                 Map of IP numbers to hostnames
/etc/hosts.allow Hosts allowed to access Internet services
/etc/hosts.deny Hosts forbidden to access Internet services
/etc/httpd/conf/* Apache configuration files
/etc/httpd/httpd.conf Main Apache configuration file
/etc/init.d/* SysV initialization scripts
/etc/initlog.conf Logging configuration file
/etc/inittab                 Configuration for the init daemon, which controls executing processes
/etc/issue                 Linux kernel and distribution version (local users)
/etc/issue/net Linux kernel and distribution version (remote users)
/etc/ld.so.conf Shared library configuration file
/etc/login.defs Options for useradd and related commands
/etc/logrotate.conf Log rotation configuration file
/etc/logrotate.d/* Scripts to rotate logs
/etc/mail/*                Mail server configuration files
/etc/mailcap metamail MIME information
/etc/man.config man configuration file
/etc/mime.types MIME types
/etc/mime-magic* Magic numbers for MIME data
/etc/minicom.users User IDs allowed to use minicom
/etc/modules.conf Aliases and options for loadable kernel modules
/etc/motd                 Message of the day
/etc/mtab                 Mounted filesystems
/etc/nsswitch.conf Resolver configuration file
/etc/openldap/* Open LDAP configuration files
/etc/pam.d/* PAM configuration files
/etc/paper.config Paper sizes
/etc/passwd User account information
/etc/ppp/*                 PPP configuration
/etc/printcap Printer options and capabilities
/etc/profile                 Default environment for users of the bash shell
/etc/profile.d/* Shell initialization
/etc/protocols Protocol names and numbers
/etc/pwdb.conf pwdb library configuration
/etc/rc                Scripts for system and process startup and shutdown
/etc/rc.local Local startup script
/etc/rc.sysinit System initialization file
/etc/rc?.d/* Service start/stop scripts
/etc/rpc                 RPC program number database
/etc/rpm/*                 RPM database and configuration files
/etc/samba/* Samba configuration files
/etc/securetty Secure tty configuration
/etc/security/* PAM configuration files
/etc/sensors.conf libsensors configuration file
/etc/services Standard service names and numbers
/etc/shadow Secure user account information
/etc/skel                 Skeleton files used to establish new user accounts
/etc/ssh/*                 SSH configuration files
/etc/sysconfig/* System configuration files
/etc/sysconfig/network-scripts/* Network adapter configuration files
/etc/sysctl.conf sysctl configuration file
/etc/syslog.conf System logging process configuration
/etc/termcap Terminal capabilities and options
/etc/updatedb.conf updatedb/locate configuration file
/etc/wvdial.conf GNOME dialer configuration file
/etc/X11/applnk/* X application shortcuts
/etc/X11/fs/config X font server configuration
/etc/X11/gdm/* GNOME display manager configuration
/etc/X11/prefdm Display manager configuration file
/etc/X11/xdm/* X display manager configuration file
/etc/X11/XF86Config X configuration file
/etc/X11/xinit/Xclients Default script for xinit
/etc/X11/xinit/xinitrc X session initialization file
/etc/X11/Xmodmap Key mappings used by xdm and xinit
/etc/xinetd.conf General xinetd configuration file
/etc/xinetd.d/* xinetd configuration files for specific servers
/home/*/public_html User web pages
/root/.bash_history bash command history for system administrator
/root/.bash_logout bash logout script for system administrator
/root/.bash_profile bash initialization script for system administrator
/root/.bashrc bash options for system administrator
/root/.Xresources X resources for system administrator
/usr/share/config/* Miscellaneous configuration files
/usr/share/fonts/* Fonts
/usr/share/ssl/openssl.cnf SSL certificate configuration
/usr/X11R6/lib/X11/app-defaults/* X application defaults
/usr/X11R6/lib/X11/fonts/* X fonts
/var/log/cron Log of cron activity
/var/log/httpd/access_log Log of web server access
/var/log/httpd/error_log Log of web server errors
/var/log/boot.log Boot messages
/var/log/cron Cron log
/var/log/dmesg Kernel message log
/var/log/lastlog Last login log
/var/log/maillog Mail transfer log
/var/log/messages System log
/var/log/samba/* Samba logs
/var/log/secure System security log
/var/log/up2date Up2date log
/var/www/cgi-bin CGI scripts
/var/www/html/* Web pages

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值