root@NGINX:/usr/sbin# /usr/sbin/nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@NGINX:/usr/sbin# /usr/sbin/nginx -v
nginx version: nginx/1.22.1
root@NGINX:/usr/sbin# nginx -v
bash: nginx: команда не найдена