自顶向下设计 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 ...
流程控制:case 分支 In this chapter, we will continue to look at flow control. In Chapter 28, we constructed some simple menus and built the logic used to act on a user’s selection. To ...
[10分钟掌握Linux vi编辑器常见命令的使用,最简单的vi编辑器教程] Linux下的文本编辑器有很多种,vi 是最常用的,也是各版本Linux的标配。注意,vi 仅仅是一个文本编辑器,可以给字符着色,可以自动补全,但是不像 Windows 下的 word 有排版功能。 vi 是十年磨一剑的产品,虽然命令繁多,并且大多数功能都是依靠键盘输入来完成,...
终端仿真器 第一次按键 命令历史 移动光标 关于鼠标和光标 试试运行一些简单命令 结束终端会话 幕后控制台 拓展阅读 When we speak of the command line, we are really referring to the shell. The shell is a program that takes keyb...