# shell-prog-ex **Repository Path**: geekdoc0/shell-prog-ex ## Basic Information - **Project Name**: shell-prog-ex - **Description**: Shell 编程范例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-05 - **Last Updated**: 2026-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Shell 编程范例 > 本书来源:[开源书籍:Shell 编程范例](http://www.tinylab.org/open-shell-book/) (by [泰晓科技](http://tinylab.org)) > 报名参与:*Star/fork* [GitHub 仓库](https://github.com/tinyclub/open-shell-book) 并发送 *Pull Request* > 关注我们:扫描二维码 关注 [@泰晓科技](http://weibo.com/tinylaborg) 微博和微信公众号 > 赞助我们:赞助 8.99¥,更多原创开源书籍期待您的支持 ^o^ v 0.2 不同于传统 Shell 书籍,本书并未花大篇幅去介绍 Shell 语法,而是以面向“对象” 的方式引入大量的实例介绍 Shell 日常操作,“对象” 涵盖数值、逻辑值、字符串、文件、进程、文件系统等。这样有助于学以致用,并在用的过程中提高兴趣。也可以作为 Shell 编程索引,在需要的时候随时检索。 ## 介绍 * 项目首页:[`www.tinylab.org/open-shell-book`](http://www.tinylab.org/open-shell-book) * 代码仓库:[`github.com/tinyclub/open-shell-book`](https://github.com/tinyclub/open-shell-book) * 在线阅读:[`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 $ sudo rm /usr/local/bin/gitbook $ sudo sh -c 'echo "nodejs /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js \$@" > /usr/local/bin/gitbook' $ sudo chmod +x /usr/local/bin/gitbook $ gitbook install ``` ### 下载 ``` $ 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](img/1617925e.png) 协议发布,详细版权信息请参考 [CC BY NC ND 4.0](http://creativecommons.org/licenses/by-nc-nd/4.0/)。 * * * ### 关注我们 * [新浪微博](http://weibo.com/tinylaborg) ![](http://weibo.com/tinylaborg) * 微信公众号 ![](img/tinylab-weixin.jpg) ### 赞助我们 * 微信扫码赞助原创 ![](img/tinylab-sponsor.jpg) * 访问 [泰晓开源小店](http://weidian.com/?userid=335178200) 支持心仪项目 ![](http://weidian.com/?userid=335178200) ### 更多原创开源书籍 * [C 语言编程透视](http://tinylab.gitbooks.io/cbook/) * [嵌入式 Linux 知识库(eLinux.org 中文版)](http://tinylab.gitbooks.io/elinux/) * [Linux 内核文档(Linux Documentation/ 中文版)](http://tinylab.gitbooks.io/linux-doc/)