Skip to main content
added 11 characters in body
Source Link
user88036
user88036

It depends on the $PATH$PATH variable of the user you are currently logged in. If the script is on more than one directories the first found is used, in this case $PATH$PATH of root should be something like

PATH="/usr/bin:/bin:...

PATH="/usr/bin:/bin:... 

and for the user it should be something like

PATH="/bin...

 PATH="/bin...

It depends on the $PATH variable of the user you are currently logged in. If the script is on more than one directories the first found is used, in this case $PATH of root should be something like

PATH="/usr/bin:/bin:...

and for the user it should be something like

PATH="/bin...

It depends on the $PATH variable of the user you are currently logged in. If the script is on more than one directories the first found is used, in this case $PATH of root should be something like

PATH="/usr/bin:/bin:... 

and for the user it should be something like

 PATH="/bin...
Source Link

It depends on the $PATH variable of the user you are currently logged in. If the script is on more than one directories the first found is used, in this case $PATH of root should be something like

PATH="/usr/bin:/bin:...

and for the user it should be something like

PATH="/bin...