How to Check Apache Version in Ubuntu
In Ubuntu Linux, there are at least three commands available to check the apache version.
To check Apache Version, run the following command in Ubuntu terminal:
Another command is the
apachectl -v Server version: Apache/2.4.41 (Ubuntu) Server built: 2020-08-12T19:46:17
apache2ctl -v command also prints the Ubuntu Apache Version to the terminal:
All three commands give the same output and are also available in all Debian-based Linux distributions.