命令行编辑 移动光标 剪切和粘贴文本 The Meta Key 自动补全 set | less 利用历史命令 搜索历史命令 历史命令展开 script script [file] 总结归纳 拓展阅读 I often kiddingly describe Unix as “the operating system for peopl...
启动一个项目 第一阶段:最小的文档 第二阶段:添加一点儿数据 变量和常量 给变量和常量赋值 Here Documents 总结归纳 拓展阅读 启动一个项目 Starting with this chapter, we will begin to build a program. The purpose of this project i...
读取键盘输入 The scripts we have written so far lack a feature common in most computer programs — interactivity. That is, the ability of the program to interact with the user. While ma...
严格的来讲,Linux 不算是一个操作系统,只是 一个 Linux 系统中的内核 ,即计算机软件与硬件通讯之间的平台。 Linux 的全称是 GNU/Linux,这才算是一个真正意义上的 Linux 系统。 GNU 是 Richard Stallman 组织的一个项目,世界各地的程序员可以变形GNU程序,同时遵循GPL协议,允许任何人任意改动。但是,修...
进程是怎样工作的 查看进程 用 top 命令动态查看进程 控制进程 中断一个进程 把一个进程放置到后台(执行) 进程返回到前台 停止一个进程 Signals 通过 kill 命令给进程发送信号 Modern operating systems are usually multitasking, meaning that they cre...
解剖一个提示符 试试一些可替代的提示符设计 添加颜色 移动光标 保存提示符 总结归纳 拓展阅读 In this chapter we will look at a seemingly trivial detail — our shell prompt. This examination will reveal some of the inne...