2 Process vs. Program

Simply put, a process is an instance of a program. A program is a file that contains the instructions and other attributes that represent the logic, data and other specifications of source files. A process, on the other hand, is a program that is loaded into the memory of a system.

In many ways, you can use the analogy that a program is a class, and a process is an object (in object-oriented programming).

Using this analogy, it does not take much imagination to realize that the same program can be used to create multiple concurrent processes. The easiest way to create multiple processes from the same program is to run the program multiple times from multiple terminals.

However, the command line interface (CLI) also allows running multiple processes from the same terminal. This is done by using the ampersand (&) symbol at the end of a command.