Why Process are required in Linux

As You know Linux is multi-user, multitasking operating system. You can run more than 2 process at the same time. For example if you want to find the number of files you have on your system you may give command like:

$ ls / -R | wc -l
This command will take lot of time to search all files on your system. So you can run such command in Background or simultaneously by giving command like

$ ls / -R | wc -l &
The ampersand (&) at the end of command tells shells start process (ls / -R | wc -l) and run it in background takes next command immediately.

Process & PID defined as:
“An instance of running command is called process and the number printed by shell is called process-id (PID), this PID can be use to refer specific running

Tags: , ,

Leave a Reply