位置参数 One feature that has been missing from our programs is the ability to accept and process command line options and arguments. In this chapter, we will examine the shell featu...
当我们运行程序时,Linux会为程序创建一个特殊的环境,该环境包含程序运行需要的所有资源,以保证程序能够独立运行,不受其它程序的干扰。这个特殊的环境就称为进程 。 每个 Linux 命令都与系统中的程序一一对应,输入命令之后,Linux 就会创建一个对应的新进程。例如使用 ls 命令遍历目录中的文件时,就创建了一个进程。 简而言之,进程就是程序的实例。 ...