序言:
Linux是一套免费使用和自由传播的类Unix操作系统,这个系统是由全世界各地的成千上万的程序员设计和实现的。下面的一些Linux教程是为了快速入门,目的在于能快速掌握Linux的基本知识,能对服务器进行基本的维护。


 第 1 章 命令行操作及常用命令使用


1.1 命令行操作 <https://www.centos.bz/2011/10/linux-command-line-operation/>

  1.1.1 Shell 简介
<https://www.centos.bz/2011/10/linux-command-line-operation/#Shell%E7%AE%80%E4%BB%8B>
1.1.2 Shell 控制台使用方法
<https://www.centos.bz/2011/10/linux-command-line-operation/#Shell%20%E6%8E%A7%E5%88%B6%E5%8F%B0%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95>

1.2 常用命令使用 <https://www.centos.bz/2011/10/linux-common-command/>

  1.2.1 登录和退出 Linux 系统
<https://www.centos.bz/2011/10/linux-common-command/#%E7%99%BB%E5%BD%95%E5%92%8C%E9%80%80%E5%87%BALinux%20%E7%B3%BB%E7%BB%9F>
1.2.2 文件和目录操作命令
<https://www.centos.bz/2011/10/linux-common-command/#%E6%96%87%E4%BB%B6%E5%92%8C%E7%9B%AE%E5%BD%95%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4>
  1.2.3 用户及用户组管理命令
<https://www.centos.bz/2011/10/linux-common-command/#%E7%94%A8%E6%88%B7%E5%8F%8A%E7%94%A8%E6%88%B7%E7%BB%84%E7%AE%A1%E7%90%86%E5%91%BD%E4%BB%A4>
1.2.4 进程及任务管理命令
<https://www.centos.bz/2011/10/linux-common-command/#%E8%BF%9B%E7%A8%8B%E5%8F%8A%E4%BB%BB%E5%8A%A1%E7%AE%A1%E7%90%86%E5%91%BD%E4%BB%A4>
  1.2.5 磁盘及文件系统管理命令
<https://www.centos.bz/2011/10/linux-common-command/#%E7%A3%81%E7%9B%98%E5%8F%8A%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%BD%E4%BB%A4>
1.2.6 软件安装命令
<https://www.centos.bz/2011/10/linux-common-command/#%E8%BD%AF%E4%BB%B6%E5%AE%89%E8%A3%85%E5%91%BD%E4%BB%A4>

 第 2 章 文件查看/编辑方法介绍 <https://www.centos.bz/2011/10/linux-file-view-edit/>


2.1 cat 命令介绍
<https://www.centos.bz/2011/10/linux-file-view-edit/#cat%20%E5%91%BD%E4%BB%A4%E4%BB%8B%E7%BB%8D>


2.2 vi 命令介绍
<https://www.centos.bz/2011/10/linux-file-view-edit/#vi%20%E5%91%BD%E4%BB%A4%E4%BB%8B%E7%BB%8D>

  2.2.1 vi 的进入与退出
<https://www.centos.bz/2011/10/linux-file-view-edit/#vi%20%E7%9A%84%E8%BF%9B%E5%85%A5%E4%B8%8E%E9%80%80%E5%87%BA>
2.2.2 vi 中显示行号
<https://www.centos.bz/2011/10/linux-file-view-edit/#vi%20%E4%B8%AD%E6%98%BE%E7%A4%BA%E8%A1%8C%E5%8F%B7>
  2.2.3 光标移动操作
<https://www.centos.bz/2011/10/linux-file-view-edit/#%E5%85%89%E6%A0%87%E7%A7%BB%E5%8A%A8%E6%93%8D%E4%BD%9C>
2.2.4 文本插入操作
<https://www.centos.bz/2011/10/linux-file-view-edit/#%E6%96%87%E6%9C%AC%E6%8F%92%E5%85%A5%E6%93%8D%E4%BD%9C>
  2.2.5 文本修改操作
<https://www.centos.bz/2011/10/linux-file-view-edit/#%E6%96%87%E6%9C%AC%E4%BF%AE%E6%94%B9%E6%93%8D%E4%BD%9C>
2.2.6 文本搜索与替换操作
<https://www.centos.bz/2011/10/linux-file-view-edit/#%E6%96%87%E6%9C%AC%E6%90%9C%E7%B4%A2%E4%B8%8E%E6%9B%BF%E6%8D%A2%E6%93%8D%E4%BD%9C>

 第 3 章 网络配置及操作


3.1 网络配置命令 <https://www.centos.bz/2011/10/linux-network-configure-command/>

  3.1.1 ifconfig
<https://www.centos.bz/2011/10/linux-network-configure-command/#ifconfig>3.1.2
route <https://www.centos.bz/2011/10/linux-network-configure-command/#route>

3.2 网络操作命令 <https://www.centos.bz/2011/10/linux-network-operate-command/>

  3.2.1 netstat
<https://www.centos.bz/2011/10/linux-network-operate-command/#netstat>3.2.2
nslookup <https://www.centos.bz/2011/10/linux-network-operate-command/#nslookup>
  3.2.3 host
<https://www.centos.bz/2011/10/linux-network-operate-command/#host%E5%91%BD%E4%BB%A4>
3.2.4 finger
<https://www.centos.bz/2011/10/linux-network-operate-command/#finger>
  3.2.5 Ping 命令
<https://www.centos.bz/2011/10/linux-network-operate-command/#Ping%20%E5%91%BD%E4%BB%A4>
 

3.3 常用网络配置文件介绍
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/>

 3.3.1 /etc/sysconfig/network 网络设置
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/sysconfig/network%20%E7%BD%91%E7%BB%9C%E8%AE%BE%E7%BD%AE>
3.3.2 /etc/hosts IP 地址和主机名的映射
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/hosts%20IP%20%E5%9C%B0%E5%9D%80%E5%92%8C%E4%B8%BB%E6%9C%BA%E5%90%8D%E7%9A%84%E6%98%A0%E5%B0%84>
 3.3.3 /etc/services
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/services>
3.3.4 /etc/host.conf 配置名字解析器
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/host.conf%20%E9%85%8D%E7%BD%AE%E5%90%8D%E5%AD%97%E8%A7%A3%E6%9E%90%E5%99%A8>
 3.3.5 /etc/nsswitch.conf 配置名字解析器
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/nsswitch.conf%20%E9%85%8D%E7%BD%AE%E5%90%8D%E5%AD%97%E8%A7%A3%E6%9E%90%E5%99%A8>
3.3.6 /etc/resolv.conf 配置DNS 客户
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/resolv.conf%20%E9%85%8D%E7%BD%AEDNS%20%E5%AE%A2%E6%88%B7>
 3.3.7 /etc/xinetd.conf
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/xinetd.conf>
3.3.8 /etc/modules.conf 文件
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/modules.conf%20%E6%96%87%E4%BB%B6>
 3.3.9 /etc/sysconfig/network-scripts/ifcfg-ethN 文件
<https://www.centos.bz/2011/10/linux-common-network-configuration-files/#/etc/sysconfig/network-scripts/ifcfg-ethN%20%E6%96%87%E4%BB%B6>
 

3.4 常用网络操作方法 <https://www.centos.bz/2011/10/linux-common-network-operations/>

3.4.1 ftp 远程文件传输
<https://www.centos.bz/2011/10/linux-common-network-operations/#ftp%20%E8%BF%9C%E7%A8%8B%E6%96%87%E4%BB%B6%E4%BC%A0%E8%BE%93>
3.4.2 telnet
<https://www.centos.bz/2011/10/linux-common-network-operations/#telnet>
3.4.3 r-系列命令
<https://www.centos.bz/2011/10/linux-common-network-operations/#r-%E7%B3%BB%E5%88%97%E5%91%BD%E4%BB%A4>
 

 第 4 章 常用使用技巧


4.1 Linux 下软件包的安装及卸载
<https://www.centos.bz/2011/10/linux-software-install-uninstall/>

4.1.1 RPM 安装操作
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E5%AE%89%E8%A3%85%E6%93%8D%E4%BD%9C>
4.1.2 RPM 查询操作
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E6%9F%A5%E8%AF%A2%E6%93%8D%E4%BD%9C>
4.1.3 RPM 卸载操作
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E5%8D%B8%E8%BD%BD%E6%93%8D%E4%BD%9C>
4.1.4 RPM 升级操作
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E5%8D%87%E7%BA%A7%E6%93%8D%E4%BD%9C>
4.1.5 RPM 验证操作
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E9%AA%8C%E8%AF%81%E6%93%8D%E4%BD%9C>
4.1.6 RPM 的其他附加命令
<https://www.centos.bz/2011/10/linux-software-install-uninstall/#RPM%20%E7%9A%84%E5%85%B6%E4%BB%96%E9%99%84%E5%8A%A0%E5%91%BD%E4%BB%A4>

4.2 Linux 操作系统的时钟系统 <https://www.centos.bz/2011/10/linux-clock-system/>

4.2.1 时钟系统介绍
<https://www.centos.bz/2011/10/linux-clock-system/#%E6%97%B6%E9%92%9F%E7%B3%BB%E7%BB%9F%E4%BB%8B%E7%BB%8D>
4.2.2 硬件时钟系统与系统时间的同步
<https://www.centos.bz/2011/10/linux-clock-system/#%E7%A1%AC%E4%BB%B6%E6%97%B6%E9%92%9F%E7%B3%BB%E7%BB%9F%E4%B8%8E%E7%B3%BB%E7%BB%9F%E6%97%B6%E9%97%B4%E7%9A%84%E5%90%8C%E6%AD%A5>

4.3 系统信息及运行状态监控

4.3.1 df 命令
<https://www.centos.bz/2011/10/linux-system-information-status-monitor/#df%20%E5%91%BD%E4%BB%A4>
4.3.2 du 命令
<https://www.centos.bz/2011/10/linux-system-information-status-monitor/#du%20%E5%91%BD%E4%BB%A4>
4.3.3 top 命令
<https://www.centos.bz/2011/10/linux-system-information-status-monitor/#top%20%E5%91%BD%E4%BB%A4>
4.3.4 iostat 命令
<https://www.centos.bz/2011/10/linux-system-information-status-monitor/#iostat%20%E5%91%BD%E4%BB%A4>

4.4 打包/压缩工具tar <https://www.centos.bz/2011/10/linux-tar-tool/>


4.5 文件及文件内容的查找 <https://www.centos.bz/2011/10/linux-find-file/>

4.5.1 文件查找命令 find
<https://www.centos.bz/2011/10/linux-find-file/#%E6%96%87%E4%BB%B6%E6%9F%A5%E6%89%BE%E5%91%BD%E4%BB%A4find>
4.5.2 文件内容查找命令 grep
<https://www.centos.bz/2011/10/linux-find-file/#%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9%E6%9F%A5%E6%89%BE%E5%91%BD%E4%BB%A4grep>

4.6 Linux 的系统服务及其配置
<https://www.centos.bz/2011/10/linux-system-service-configure/>

4.6.1 服务简介
<https://www.centos.bz/2011/10/linux-system-service-configure/#%E6%9C%8D%E5%8A%A1%E7%AE%80%E4%BB%8B>
4.6.2 启动和停止服务
<https://www.centos.bz/2011/10/linux-system-service-configure/#%E5%90%AF%E5%8A%A8%E5%92%8C%E5%81%9C%E6%AD%A2%E6%9C%8D%E5%8A%A1>
4.6.3 服务的添加 删除自动运行及状态
<https://www.centos.bz/2011/10/linux-system-service-configure/#%E6%9C%8D%E5%8A%A1%E7%9A%84%E6%B7%BB%E5%8A%A0%E3%80%81%E5%88%A0%E9%99%A4%E3%80%81%E8%87%AA%E5%8A%A8%E8%BF%90%E8%A1%8C%E5%8F%8A%E7%8A%B6%E6%80%81>