how to get nginx version by shell script?

licess licess at gmail.com
Mon Feb 14 12:25:06 MSK 2011


i have try to get nginx version,use:
root at vps:~# nv=`/usr/local/nginx/sbin -v`
root at vps:~# echo $nv

but echo $nv was blank.
i also have try php or other program was work.



More information about the nginx mailing list