> 本書來源:[開源書籍:Shell 編程范例](http://www.tinylab.org/pleac-shell/) (by [泰曉科技](http://tinylab.org))
# Shell 編程范例
v 0.2
不同于傳統 Shell 書籍,本書并未花大篇幅去介紹 Shell 語法,而是以面向“對象” 的方式引入大量的實例介紹 Shell 日常操作,“對象” 涵蓋數值、邏輯值、字符串、文件、進程、文件系統等。這樣有助于學以致用,并在用的過程中提高興趣。也可以作為 Shell 編程索引,在需要的時候隨時檢索。
### 介紹
- 項目首頁:[http://www.tinylab.org/pleac-shell](http://www.tinylab.org/pleac-shell)
- 代碼倉庫:[https://github.com/tinyclub/open-shell-book](https://github.com/tinyclub/open-shell-book)
-
在線閱讀:[http://tinylab.gitbooks.io/shellbook](http://tinylab.gitbooks.io/shellbook)
更多背景和計劃請參考:[前言](#)。
### 安裝
以 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 https://github.com/tinyclub/open-shell-book.git
$ cd open-shell-book/
~~~
### 編譯
~~~
$ gitbook build // 編譯成網頁
$ gitbook pdf // 編譯成 pdf
~~~
### 糾錯
歡迎大家指出不足,如有任何疑問,請郵件聯系 wuzhangjin at gmail dot com 或者直接修復并提交 Pull Request。
### 版權
本書采用 
協議發布,詳細版權信息請參考 [CC BY NC ND 4.0](http://creativecommons.org/licenses/by-nc-nd/4.0/)。
### 關注我們
- [新浪微博](http://weibo.com/tinylaborg)
[](http://weibo.com/tinylaborg)
- 微信公眾號

### 贊助我們
- 微信掃碼贊助原創
