mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 23:46:13 +00:00
Update cheatsheets
This commit is contained in:
29
linux/a2query
Normal file
29
linux/a2query
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user