I have installed nginx on Debian 7 with the following steps
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nginx
sudo service nginx start
I have confirmed that this starts nginx by accessing the hostip from the browser. How do I find out the version of nginx?
nginx -v
fails with the 'command not found
error
I verified that nginx exists in the usr/sbin directory and that directory is added to the $PATH variable