0

i have install Nginx with this command on Debian :

sudo apt install nginx

There is no error during the installation. but after when i want to use Nginx command :

nginx -v
-bash: nginx : commande introuvable

echo $PATH :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

There is no file on /usr/local/sbin for Nginx

Sam
  • 1,129
  • 2
  • 10
  • 24
  • Does this answer your question? [Shell can't find nginx](https://stackoverflow.com/questions/36109112/shell-cant-find-nginx) – mtnezm Jun 09 '20 at 08:07

1 Answers1

1

Try it with sudo

sudo nginx -V
Sergey Onishchenko
  • 6,943
  • 4
  • 44
  • 51