Shell is 紹

May 23, 2021 08:00 Shell - An example of programming

Table of contents

Source: Open Source Books: Shell Programming Examples (by Tai Xiao Technology). )

Shell programming example

v 0.2

Unlike traditional Shell books, this book does not spend much of its time introducing shell syntax, but rather introduces a large number of instances of Shell's day-to-day operations in an "object"-oriented manner, covering values, logical values, strings, files, processes, file systems, and so on. T his helps to learn to use, and in the process of using to increase interest. It can also be used as a Shell programming index, retrieved whenever needed.



Take Ubuntu:

$ sudo aptitude install -y retext git nodejs npm
$ sudo ln -fs /usr/bin/nodejs /usr/bin/node
$ sudo aptitude install -y calibre fonts-arphic-gbsn00lp
$ sudo npm install gitbook-cli -g


$ git clone
$ cd open-shell-book/


$ gitbook build  // 编译成网页
$ gitbook pdf    // 编译成 pdf

Error correcting

If you have any questions, please contact wuzhangjin at gmail or fix and submit Pull Request directly.


This book is used Shell is 紹
For agreement release, please refer to CC BY NC ND 4.0 for detailed copyright information.


  • WeChat Broom sponsors the original

Shell is 紹