1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 3976
/ 3 Years ago, wed, august 4, 2021, 4:10:30
If I put a new path into my $PATH
variable like so:
PATH=$PATH:$HOME/pear/bin/
I can then access the programs in my pear bin. Works as expected, but while I can do this:
phpunit -version
phpunit being a program that resides in my pear bin, I cannot do this:
sudo phpunit -version
as I get the following error:
sudo: phpunit: command not found
does the sudo
command not have universal access?
More From » sudo