1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/a2query.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

460 B

a2query

Retrieve runtime configuration from Apache on Debian-based OSes. More information: https://manpages.debian.org/latest/apache2/a2query.html.

  • List enabled Apache modules:

sudo a2query -m

  • Check if a specific module is installed:

sudo a2query -m {{module_name}}

  • List enabled virtual hosts:

sudo a2query -s

  • Display the currently enabled Multi Processing Module:

sudo a2query -M

  • Display Apache version:

sudo a2query -v