At work you have a few Linux servers and are asked to troubleshoot why a webserver on one of them is not responding. You SSH onto the server and want to determine if the webserver process is running. Which command would you use?
The ps command is a Linux and Mac command for listing processes. It is also an alias for Get-Process in PowerShell. The command will list running processes and various details about them. It is a great start to determine if something is running on a Linux machine.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the 'ps' command do in more detail?
Open an interactive chat with Bash
How can I filter the output of the 'ps' command?
Open an interactive chat with Bash
What are some common mistakes made when using the 'ps' command?