Process control
Every command on your computer, whether run from a terminal, a graphical app, or a running background service, is reflected as a process. Information about running processes, such as memory and CPU usage, is available.
The ps command outputs running processes and information related to the processes.
Just running ps with no arguments only prints processes running within the current shell, which is not very useful. There are many options available and an overwhelming number of combinations that change how the ps command works. For the sake of this chapter, I’ll demonstrate what I feel is the most useful way to use the ps command.
To see all running processes on your system with all available information about each process, you can run ps auxww. As mentioned, this will print all running processes, likely much more than you need. You may want information about specific processes, which you can combine with the grep command. To find all Firefox processes...