debian lenny box, how can I check for apache and mysql installs?

link|improve this question

26% accept rate
Can you tell us a bit more about the context in which you need this information? Can we assume that the system only has packages that where installed via apt? – Zoredache Dec 7 '09 at 23:54
feedback

1 Answer

dpkg -l |egrep '(apache|mysql)'

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.