解剖一个提示符 试试一些可替代的提示符设计 添加颜色 移动光标 保存提示符 总结归纳 拓展阅读 In this chapter we will look at a seemingly trivial detail — our shell prompt. This examination will reveal some of the inne...
自顶向下设计 As programs get larger and more complex, they become more difficult to design, code and maintain. As with any large project, it is often a good idea to break large, comple...
流程控制:for 循环 for: 传统 shell 格式 for: C 语言格式 总结 拓展阅读 流程控制:for 循环 In this final chapter on flow control, we will look at another of the shell’s looping constructs. The for loop ...
奇珍异宝 组命令和子 shell 进程替换 陷阱 异步执行 等待 命名管道 设置一个命名管道 使用命名管道 总结 拓展阅读 奇珍异宝 In this, the final chapter of our journey, we will look at some odds and ends. While we have certai...
流程控制:while/until 循环 In the previous chapter, we developed a menu-driven program to produce various kinds of system information. The program works, but it still has a significant ...