Alan D. Salewski on 6 Feb 2009 13:45:35 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] rookie question

On Fri, Feb 06, 2009 at 04:34:56PM -0500, Ron Kaye spake thus:
> how do i know apache is installed?
> rk

Do you simply want to know whether or not the package (DEB or RPM) is
installed? Or do you also want to know if the server is running?

To answer the first, try:

    $ rpm -qa | grep -e apache -e httpd


    $ dpkg -l | grep -e apache -e httpd

(depending, of course, on your distro).

To answer the second:

    $ ps auxww | grep -e apache -e httpd


a l a n   d.   s a l e w s k i   
                     Can't change the channel
                     Life with a broken remote
                       Home shopping all day
Generated from Haiku-O-Matic: 
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --