check apache version ubuntu

Shell
apache2 -v   

Source

Also in Shell: