From 235ac6980ea0c86f825dcbf69f81695822513ea3 Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 26 Apr 2018 20:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Introduction.md | 18 ++++++++++++ SUMMARY.md | 70 +++++++++++++++++++++++++++------------------- book.json | 4 +-- cd-ls-pwd.md | 15 ---------- styles/website.css | 4 +++ 5 files changed, 66 insertions(+), 45 deletions(-) create mode 100644 Introduction.md diff --git a/Introduction.md b/Introduction.md new file mode 100644 index 0000000..f632acd --- /dev/null +++ b/Introduction.md @@ -0,0 +1,18 @@ +## Linux 是什么 + +`Linux` 是一个开源系统内核,1991年由托瓦兹 (Linus Torvalds) 开发出来的,我们平时讲的 `Liunx` 系统其实并不是很准确,`Ubuntu` `CentOS` 这些才是系统,`Linux` 是参考 `Uinx` 系统开发出来的。 + +现实生活中有哪些软件或系统是基于 `Linux` 开发出来的呢? `嵌入式` 程序开发 `Android` 手机系统,我们经常浏览的网站服务器,基本都是运行 `Linux` 系统之上。 + +`Linx` 是一个支持多用户、多任务的系统。 + +`Linux` 系统上一切都是以文件的形式存在,所有文件命名要提现文件的格式或内容,`demo.php` 代表这是一个 `php` 文件,`demo.txt` 代表 `txt` 文件,`demo.tar.gz` 代表以 `gzip` 压缩的打包文件。 + +## Linux 的优势 + +- 跨平台 +- 安全 +- 多用户多任务 +- 占用系统资源少 +- 网络功能强大 +- 稳定 \ No newline at end of file diff --git a/SUMMARY.md b/SUMMARY.md index 7976ca4..af2b2b2 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -1,32 +1,46 @@ # Summary -* [入门必看](cd-ls-pwd.md) - * [cd-ls-pwd](cd-ls-pwd.md) -* [用户与用户组](user-group.md) - * [user-group](user-group.md) -* [文件与目录](file-dir.md) - * [file-dir](file-dir.md) -* 文件目录权限 - * [file-dir-permissions](file-dir-permissions.md) -* 查找搜索相关 - * [find-search](find-search.md) -* 查看编辑相关 - * [cat-less-tail-head-vim](cat-less-tail-head-vim.md) -* 网络与系统资源 - * [netstat-system](netstat-system.md) -* 打包压缩相关 - * [tar-zip-gzip-bzip2-xz](tar-zip-gzip-bzip2-xz.md) -* 软件包管理器 - * [apt-get-yum](apt-get-yum.md) -* 防火墙 - * [firewall](firewall.md) -* 其他 - * [other](other.md) -* 插件工具 - * [tool](tool.md) -* shell 脚本 - * [shell](shell.md) -* 实用 shell 例子 - * [demo](demo.md) +* [前言](introduction.md) + +## 入门必看 +* [cd-ls-pwd](cd-ls-pwd.md) + +## 用户与用户组 +* [user-group](user-group.md) + +## 文件与目录 +* [file-dir](file-dir.md) + +## 文件目录权限 +* [file-dir-permissions](file-dir-permissions.md) + +## 查找搜索相关 +* [find-search](find-search.md) + +## 查看编辑相关 +* [cat-less-tail-head-vim](cat-less-tail-head-vim.md) +## 网络与系统资源 +* [netstat-system](netstat-system.md) + +## 打包压缩相关 +* [tar-zip-gzip-bzip2-xz](tar-zip-gzip-bzip2-xz.md) + +## 软件包管理器 +* [apt-get-yum](apt-get-yum.md) + +## 防火墙 +* [firewall](firewall.md) + +## 其他 +* [other](other.md) + +## 插件工具 +* [tool](tool.md) + +## shell 脚本 +* [shell](shell.md) + +## 实用 shell 例子 +* [demo](demo.md) diff --git a/book.json b/book.json index 489633f..a0a5692 100644 --- a/book.json +++ b/book.json @@ -1,7 +1,7 @@ { "author": "Nick", - "description": "Gitbook 描述", - "title" : "Gitbook title", + "description": "PHPer 必知必会的 Linux 命令", + "title" : "PHPer 必知必会的 Linux 命令", "language": "zh-hans", "links": { "sidebar": { diff --git a/cd-ls-pwd.md b/cd-ls-pwd.md index 309d85a..293a46a 100644 --- a/cd-ls-pwd.md +++ b/cd-ls-pwd.md @@ -1,18 +1,3 @@ -## Linux 是什么 - -`Linux` 是一个开源系统内核,1991年由托瓦兹 (Linus Torvalds) 开发出来的,我们平时讲的 `Liunx` 系统其实并不是很准确,`Ubuntu` `CentOS` 这些才是系统,`Linux` 是参考 `Uinx` 系统开发出来的。 -现实生活中有哪些软件或系统是基于 `Linux` 开发出来的呢? `嵌入式`开发 `Android` 系统,我们经常浏览的网站服务器,基本都是运行 `Linux` 系统之上。`Linx` 是一个支持多用户、多任务的系统。 -`Linux` 系统上一切都是以文件的形式存在,所有文件命名要提现文件的格式或内容,`demo.php` 代表这是一个 `php` 文件,`demo.txt` 代表 `txt` 文件,`demo.tar.gz` 代表以 `gzip` 压缩的打包文件。 - -## Linux 的优势 - -- 跨平台 -- 安全 -- 多用户多任务 -- 占用系统资源少 -- 网络功能强大 -- 稳定 - #### cd 命令 change dirname 的缩写形式,进入指定目录 ``` diff --git a/styles/website.css b/styles/website.css index 3efd7f6..94993c8 100644 --- a/styles/website.css +++ b/styles/website.css @@ -1,6 +1,10 @@ +/*隐藏底部gitbook */ .gitbook-link { display: none !important; } .summary > li:nth-child(3) { display: none !important; } +li.chapter { + padding-left: 20px; +}