Getting Started with the Basics
13
example, suppose I want to see all the processes running on my Linux sys-
tem. In this case, I can use the
ps
(processes) command followed by the
aux
switches to specify which process information to display, like so:
kali >
ps aux
This provides me with a listing of
all the processes running in this
system—but what if I just want to find one process to see if it is running?
I can do this by piping the output from
ps
to
grep
and searching for a
keyword. For instance, to find out whether the apache2 service is running,
I would enter the following.
kali >