Skip to content

Commit a481a31

Browse files
committed
init
0 parents  commit a481a31

35 files changed

+13054
-0
lines changed

.gitignore

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Object files
5+
*.o
6+
*.ko
7+
*.obj
8+
*.elf
9+
10+
# Linker output
11+
*.ilk
12+
*.map
13+
*.exp
14+
15+
# Precompiled Headers
16+
*.gch
17+
*.pch
18+
19+
# Libraries
20+
*.lib
21+
*.a
22+
*.la
23+
*.lo
24+
25+
# Shared objects (inc. Windows DLLs)
26+
*.dll
27+
*.so
28+
*.so.*
29+
*.dylib
30+
31+
# Executables
32+
*.exe
33+
*.out
34+
*.app
35+
*.i*86
36+
*.x86_64
37+
*.hex
38+
39+
# Debug files
40+
*.dSYM/
41+
*.su
42+
*.idb
43+
*.pdb
44+
45+
# Kernel Module Compile Results
46+
*.mod*
47+
*.cmd
48+
.tmp_versions/
49+
modules.order
50+
Module.symvers
51+
Mkfile.old
52+
dkms.conf
53+
54+
node_modules/

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
4+
}

LICENSE

Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<p align="center">
2+
<img width="210" height="180" align="left" style="float: left; margin: 0 10px 0 0;" src="https://archlinuxstudio.github.io/ShellTutorial/bash.svg" alt="ArchLinuxStudio_ShellTutorial"/>
3+
</br>
4+
<h1>Linux命令行与Shell脚本教程 </h1>
5+
包含常见命令行使用,Bash基础、进阶编程,以及实用范例!
6+
</br>
7+
提供在线网页文档,承诺健在即更新。*目前项目组的最高优先级是Linux网络编程与加密,本项目将以极慢的速度更新。*
8+
</p>
9+
10+
[![Badge](https://img.shields.io/badge/link-ShellTutorial-%23F5AE29.svg)](https://archlinuxstudio.github.io/ShellTutorial)
11+
[![Join telegram community and chat about arch linux](https://img.shields.io/discord/628978428019736619?label=&logo=telegram&logoColor=ffffff&color=7389D8&labelColor=6A7EC2&cacheSeconds=60)](https://t.me/FSF_Ministry_of_Truth)
12+
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FArchLinuxStudio%2FShellTutorial&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
13+
[![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/)
14+
[![Lines](https://img.shields.io/tokei/lines/github/ArchLinuxStudio/ShellTutorial)](https://img.shields.io/tokei/lines/github/ArchLinuxStudio/ShellTutorial)
15+
[![lastcommit](https://img.shields.io/github/last-commit/ArchLinuxStudio/ShellTutorial)](https://img.shields.io/github/last-commit/ArchLinuxStudio/ShellTutorial)
16+
17+
<!-- shields not support telegram online count now, use sample discord instead temporarily -->
18+
19+
## [阅读地址](https://ArchLinuxStudio.github.io/ShellTutorial/#/)
20+
21+
为推动自由软件运动而撰写的 Linux Bash Shell 中文教程。你可以通过本教程学会:
22+
23+
- Linux 命令行的使用方式
24+
- Linux Bash Shell 编程
25+
26+
命令行部分已完成。脚本初级以及进阶部分慢速完善中。
27+
28+
## Star 历史
29+
30+
[![Stargazers over time](https://starchart.cc/ArchLinuxStudio/ShellTutorial.svg)](https://starchart.cc/ArchLinuxStudio/ShellTutorial)

TODO

Whitespace-only changes.

docs/.nojekyll

Whitespace-only changes.

docs/CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 贡献文档与代码 <!-- {docsify-ignore-all} -->
2+
3+
点击本文右上角的 github 图标,即可查看本工程。在每一页的最下方也有`编辑本文`的链接,点击即可跳转到 github 编辑。
4+
本书的大纲目录由群主把控,文章内容可自由编辑。
5+
6+
## 文档贡献
7+
8+
文档贡献非常简单,你只需要拥有一个编辑器,将工程 fork,修改,提交 pull request 即可。
9+
10+
## 格式约定
11+
12+
本系列文档的理念是不必过于苛求格式,因为内容才是真正重要的东西。但是也有少量规范必需遵守,否则会影响阅读。
13+
14+
- 使用 OSS code 进行开发,配合 Prettier 插件默认配置进行格式化代码,写完部分文档后使用 ctrl+s 自动格式化保存。
15+
- 每个 md 文档标题按层级编排内容,大标题为#,其次##,再次###,以此类推。
16+
- 代表片段需用 markdown 语法包裹,并指定代码类型,如 bash。
17+
- 一般情况下,请尽量正常使用句号、顿号、引号、冒号等标点符号。
18+
- 需要引起注意的部分可使用 markdown 引用语法。
19+
- 专有名词可使用行内代码``语法进行提示,其比加粗更为明显。
20+
- 行内代码请使用行内代码进行提示。
21+
22+
## 代码贡献
23+
24+
本工程使用 [docsify](https://docsify.js.org/#/) 编写而成。如果想贡献相关代码请先阅读 docsify 的项目文档。
25+
26+
本工程使用 yarn 管理依赖,结构非常简单。如果没有接触过,你可能需要简单了解一下[yarn](https://classic.yarnpkg.com/en/)
27+
28+
本地调试
29+
30+
```bash
31+
yarn install
32+
yarn start
33+
```

docs/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Linux 命令行与 Shell 脚本教程(WIP) - ShellTutorial - Arch Linux Studio<!-- {docsify-ignore-all} -->
2+
3+
本书以《Linux 命令行与 Shell 脚本编程大全(第 3 版)》,《鸟哥的 Linux 私房菜第四版》, Arch Wiki 以及维基百科为基准参考,精炼更新出一本实用教程,剔除过时内容与废话,并融入与时俱进的新内容。
4+
5+
- 本书特点
6+
7+
- 无废话,不会像很多撑时长的教程一样浪费你的时间。
8+
- 只介绍高频常用的用法,阅读性价比高。对于更详细的,不常用的用法,请自行查阅 man 手册、tldr 命令或者通过互联网查询。
9+
- 只要群主健在 就会一直更新 [鼓励志愿者提交更新](CONTRIBUTING.md)
10+
- Linux 二次元电报群:[ArchLinuxStudio](https://t.me/FSF_Ministry_of_Truth)
11+
12+
学习本书的前置条件是你已经拥有一个安装好的 Linux 系统,实体机或者虚拟机的安装均可。建议使用 Ubuntu 或者 Arch Linux。即使命令行在各个 Linux 发行版上基本通用,但是本书还是会针对 Arch Linux 添加更多内容,建议有能力的同学尽量使用 Arch Linux。对于 Arch Linux,可阅读学习同系列教程:[Arch Linux 安装使用教程](https://ArchLinuxStudio.github.io/ArchLinuxTutorial/#/)。同时没有接触过 Linux 的同学,强烈建议先学习一些 Linux 基础概念再进行本书的学习。
13+
14+
对于命令行与 Shell 编程的学习,各个命令有大量的参数以及组合,没有必要死记硬背全部的参数和其作用,只需要记住常用的组合,以及在需要查询某一个用法的参数时,知道如何通过 man 等方式快速查询即可。同时,学习 Linux 命令行实践是非常重要的,不去实际敲一敲命令,始终无法有直观的体验,所以本书最好的学习方式是边看电子书,边敲命令行。

docs/_404.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 404
2+
3+
你所访问的页面目前并不存在,你可以尝试搜索相关内容。或者如果有必要,联系提交 PR 以创建这个页面。

docs/_sidebar.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
- [**Linux 命令行与 Shell 脚本教程 - ShellTutorial - Arch Linux Studio**](/)
2+
3+
- Linux 命令行
4+
5+
- [初识 Linux Shell](/commandLine/shell_first_view)
6+
- [更多实用命令](/commandLine/more_command)
7+
- [理解 Shell](/commandLine/understand_shell)
8+
- [Linux 环境变量](/commandLine/linux_env)
9+
- [理解 Linux 文件权限](/commandLine/security)
10+
- [管理文件系统](/commandLine/file_system)
11+
12+
- 基础 Shell 编程
13+
14+
- [初识脚本编程](/shellBasic/shell_basic)
15+
- [脚本结构化命令](/shellBasic/structured_command)
16+
- [更多的结构化命令](/shellBasic/more_structured_command)
17+
- [处理输入](/shellBasic/shell_input)
18+
- [处理输出](/shellBasic/shell_output)
19+
- [控制 Shell 脚本](/shellBasic/shell_control)
20+
21+
- 进阶 Shell 编程
22+
23+
- [函数](/shellAdvanced/shell_function)
24+
- [图形化脚本编程](/shellAdvanced/shell_GUI)
25+
- [初识 sed 和 gawk](/shellAdvanced/sed_gawk_basic)
26+
- [正则表达式](/shellAdvanced/regular_expression)
27+
- [sed 进阶](/shellAdvanced/more_sed)
28+
- [gawk 进阶](/shellAdvanced/more_gawk)
29+
- [使用其它 shell](/shellAdvanced/other_shell)
30+
31+
- Shell 脚本实战
32+
33+
- 速查指南
34+
35+
- [**贡献文档与代码**](CONTRIBUTING.md)
36+
37+
- [**关于&致谢**](about.md)

0 commit comments

Comments
 (0)