Bash学习笔记总目录

shell编程是 Linux / 服务器运维、开发的基础技能,处理系统级任务更简洁、无环境依赖。将重复的操作自动化,大幅降低手动操作成本。

Bash是日常工作中用得较多的工具,之前也看过基本shell编程的书,或零星的查看帮助和文档。但一直想系统的学一下,Bash基础和核心的东西不多,但很重要,因此决定将Bash的官方手册阅读一遍,其实也就是man bashinfo bash的内容。

当然,手册中有时非常重要的概念就一两句话,其实是比较抽象难懂的,这时就必须结合一些示例来理解,因此也寻找和自己设计了一些示例。吕思勉在《怎样读中国历史》中说:

研究的方法必须试行之后,方能真知。抽象的理论,言者虽属谆谆,听者终属隔膜,无已,则看前人所制成的作品,反而觉得亲切。昔人诗:"鸳鸯绣出凭君看,不把金针度与人。"又有替他下转语的说:"金针线迹分明在,但把鸳鸯仔细看。"这两句诗也真觉亲切而有味。

我觉得这正是我的Bash笔记的特点和价值所在。

系统的学习一遍后,感觉还是很有收获的,虽然笔记主要是给自己看的,也分享出来希望对大家有所帮助。

Bash学习笔记总目录如下,计划从明日起每日发布两篇:

主题 笔记(博客)
1 n/a Introduction Bash 学习 - 第1章:Introduction
2 n/a Definitions Bash 学习 - 第2章:Definitions
3 1 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第1节:Shell Syntax
3 2 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第2节:Shell Commands
3 3 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第3节:Shell Functions
3 4 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第4节:Shell Parameters
3 5 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第5节:Shell Expansions
3 6 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第6节:Redirections
3 7 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第7节:Executing Commands
3 8 Basic Shell Features Bash学习 - 第3章:Basic Shell Features,第8节:Shell Scripts
4 1 Shell Builtin Commands Bash学习 - 第4章:Shell Builtin Commands,第1节:Bourne Shell Builtins
4 2 Shell Builtin Commands Bash学习 - 第4章:Shell Builtin Commands,第2节:Bash Builtin Commands
4 3,4 Shell Builtin Commands Bash学习 - 第4章:Shell Builtin Commands,第3节:Modifying Shell Behavior
5 n/a Shell Variables Bash学习 - 第5章:Shell Variables
6 1 Bash Features Bash学习 - 第6章:Bash Features,第1节:Invoking Bash
6 2 Bash Features Bash学习 - 第6章:Bash Features,第2节:Bash Startup Files
6 3 Bash Features Bash学习 - 第6章:Bash Features,第3节:Interactive Shells
6 4 Bash Features Bash学习 - 第6章:Bash Features,第4节:Bash Conditional Expressions
6 5 Bash Features Bash学习 - 第6章:Bash Features,第5节:Shell Arithmetic
6 6 Bash Features Bash学习 - 第6章:Bash Features,第6节:Aliases
6 7 Bash Features Bash学习 - 第6章:Bash Features,第7节:Arrays
6 8 Bash Features Bash学习 - 第6章:Bash Features,第8节:The Directory Stack
6 9 Bash Features Bash学习 - 第6章:Bash Features,第9节:Controlling the Prompt
6 10 Bash Features Bash学习 - 第6章:Bash Features,第10节:The Restricted Shell
6 11 Bash Features Bash学习 - 第6章:Bash Features,第11节:Bash and POSIX
6 12 Bash Features Bash学习 - 第6章:Bash Features,第12节:Shell Compatibility Mode
7 n/a Job Control Bash学习 - 第7章:Job Control
8 1,2 Command Line Editing Bash学习 - 第8章:Command Line Editing,第1-2节:Intro & Readline Interaction
8 3 Command Line Editing Bash学习 - 第8章:Command Line Editing,第3节:Readline Init File
8 4,5 Command Line Editing Bash学习 - 第8章:Command Line Editing,第4-5节:Bindable Readline Commands
8 6,7,8 Command Line Editing Bash学习 - 第8章:Command Line Editing,第6-8节:Programmable Completion
9 n/a Using History Interactively Bash学习 - 第9章:Using History Interactively
10 n/a Installing Bash Bash学习 - 第10章:Installing Bash
相关推荐
rockey6278 小时前
基于AScript的SQL脚本语言发布啦!
sql·c#·.net·script·expression·动态脚本
楚枫默寒4 天前
Linux 编辑文件后自动添加修改日期
linux·运维·bash
rockey6274 天前
AScript之事件处理脚本
c#·.net·script·动态脚本
日晨难再5 天前
C语言&Python&Bash&Tcl:全局变量和局部变量
c语言·python·bash·tcl
闲猫5 天前
SSH 黑屏配置试用环境机器,受限bash和自定义shell
运维·ssh·bash
承渊政道6 天前
【MySQL数据库学习】MySQL表的约束(上)
数据库·c++·学习·mysql·bash·数据库架构·数据库系统
hhb_6186 天前
Bash变量不加引号:空格文件名致命陷阱
开发语言·chrome·bash
承渊政道7 天前
【MySQL数据库学习】(MySQL数据类型)
数据库·学习·mysql·ubuntu·bash·数据库开发·数据库系统
拾光Ծ7 天前
【Linux系统编程】线程池项目实战与基于策略模式的日志系统
linux·bash·线程池·策略模式·日志
承渊政道9 天前
Linux系统学习【进程控制:进程创建、终止与等待、进程程序替换、自主shell命令行解释器详解】
linux·服务器·c++·学习·ubuntu·bash·远程工作