Processes SHORT
COMMAND COVERED

ps
- process status

Inspecting process details using ps

In this short, we can see that the initial run of the ps command only return the grep process, because it was the only one matching the expression. However, upon running the sleep command (in the background using the & symbol), we are able to see that the sleep command also shows up in the process list, matching the pid (process id) of the sleep call, which is shown next to [1].