linux操作系统基础教程

上传者: chenyubao_2012 | 上传时间: 2022-07-25 15:17:10 | 文件大小: 1.93MB | 文件类型: PDF
目 录 第1 章 Linux 基础及安装 ···················· ························ ······················· ························ ·················· 1 1.1 Linux 基础知识 ······················· ······················· ························ ······················· ··················· 1 1.2 Linux 对硬件的要求 ························ ························································· ······················· 5 1.3 Red Hat Linux系统安装 ···························· ···························· ························ ·················· 7 1.3.1 硬盘分区··························· ························ ······················· ························ ·················· 7 1.3.2 Red Hat Linux 安装过程 ···················································· ························ ·················· 9 1.4 LILO 的配置和使用············································ ························ ······················· ············ 19 1.4.1 LILO简介 ····················································· ························ ······················· ············ 19 1.4.2 配置 LILO····················································· ························ ······················· ············ 19 1.4.3 卸载 LILO····················································· ························ ······················· ············ 21 小结 ··························· ························································· ························ ··················· ··········· 21 习题 ··························· ························································· ························ ··················· ··········· 21 第2 章 常用 Linux 命令 ···························· ······················· ························ ······················· ············ 22 2.1 系统安全性 ·················································································· ······················· ············ 22 2.1.1 注册和退出系统 ············································ ························ ······················· ············ 22 2.1.2 修改口令··························· ···························· ························ ······················· ············ 25 2.1.3 良好的保密习惯 ············································ ························ ······················· ············ 25 2.2 命令的使用 ·················································································· ······················· ············ 26 2.2.1 bash 简介 ·························· ···························· ························ ······················· ············ 26 2.2.2 命令格式··························· ···························· ························ ······················· ············ 27 2.2.3 键入命令··························· ···························· ························ ······················· ············ 27 2.2.4 修改命令行输入错误 ···························· ···························· ···························· ············ 27 2.2.5 特殊字符··························· ···························· ························ ······················· ············ 28 2.3 文件操作命令·························· ···························· ························ ······················· ············ 28 2.3.1 文件系统概念················································ ························ ······················· ············ 28 2.3.2 文件显示命令················································ ························ ······················· ············ 30 2.3.3 匹配、排序命令 ············································ ························ ······················· ············ 34 2.3.4 比较文件内容的命令 ···························· ···························· ···························· ············ 37 2.3.5 复制、删除和移动文件的命令························ ························ ······················· ············ 39 2.3.6 文件内容统计命令··························· ···························· ···························· ················· 40 2.4 目录及其操作命令······················· ······················· ························ ······················· ············ 41 2.4.1 目录结构··························· ···························· ························ ······················· ············ 41 2.4.2 创建和删除目录的命令····················································· ···························· ············ 43 II 2.4.3 改变工作目录和显示目录内容命令······················ ························ ······················· ······· 43 2.4.4 链接文件的命令 ············································ ························ ······················· ············ 45 2.4.5 改变文件或目录存取权限的命令 ···················· ························ ······················· ············ 46 2.4.6 改变用户组和文件主的命令 ··························· ························ ······················· ············ 47 2.5 文件压缩命令·························· ···························· ························ ······················· ············ 48 2.6 联机帮助命令·························· ···························· ························ ······················· ············ 49 2.7 进程控制命令·························· ···························· ························ ······················· ············ 52 2.7.1 查看系统的进程 ············································ ························ ······················· ············ 52 2.7.2 进程控制··························· ···························· ························ ······················· ············ 53 2.8 网络命令 ························ ························································· ···························· ············ 53 2.9 其他命令 ························ ························································· ···························· ············ 57 小结 ··························· ························································· ························ ··················· ··········· 59 习题 ··························· ························································· ························ ··················· ··········· 60 第3 章 vi 编辑器 ·························· ···························· ···························· ···························· ············ 61 3.1 vi 的工作方式·························· ···························· ························ ······················· ············ 61 3.1.1 命令方式··························· ···························· ························ ······················· ············ 61 3.1.2 输入方式··························· ···························· ························ ······················· ············ 61 3.1.3 ex 转义方式···························· ······················· ························ ······················· ············ 62 3.2 vi 的启动和退出··························· ······················· ························ ······················· ············ 63 3.2.1 启动 vi ·················································································· ······················· ············ 63 3.2.2 退出 vi ·················································································· ······················· ············ 64 3.3 文本输入 ························ ························································· ···························· ············ 64 3.3.1 插入命令··························· ···························· ························ ······················· ············ 64 3.3.2 附加命令··························· ···························· ························ ······················· ············ 65 3.3.3 打开命令··························· ···························· ························ ······················· ············ 65 3.3.4 输入方式下光标移动 ···························· ···························· ···························· ············ 66 3.4 打开文件 ························ ························································· ···························· ············ 67 3.4.1 打开一个文件················································ ························ ······················· ············ 67 3.4.2 打开多个文件················································ ························ ······················· ············ 68 3.4.3 用vi 打开多个窗口 ·························· ···························· ············································· 70 3.5 保存文件 ························ ························································· ···························· ············ 70 3.6 移动光标 ························ ························································· ···························· ············ 71 3.7 文本修改 ························ ························································· ···························· ············ 72 3.7.1 删除与替换 ···························· ······················· ························ ······················· ············ 72 3.7.2 查找 ···························· ···························· ···················································· ············ 74 3.7.3 复制、粘贴、剪切··························· ···························· ···························· ················· 75 3.7.4 重复 ···························· ···························· ···················································· ············ 76 3.7.5 撤销 ···························· ···························· ···················································· ············ 76 3.8 ex命令 ···························· ···························· ···························· ···························· ············ 77

文件下载

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明