This is about specific command, not all system default. – Kamil Lelonek – 2014-07-13T20:38:53.790
1What’s the result of sudo -s 'echo $PATH' ? – wonce – 2014-07-14T01:41:01.173
/bin/bash: echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory – Kamil Lelonek – 2014-07-14T06:08:01.403
http://superuser.com/questions/709515/command-not-found-when-using-sudo – Logman – 2014-07-13T20:20:20.660
This is about specific command, not all system default. – Kamil Lelonek – 2014-07-13T20:38:53.790
1What’s the result of
sudo -s 'echo $PATH'
? – wonce – 2014-07-14T01:41:01.173/bin/bash: echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory
– Kamil Lelonek – 2014-07-14T06:08:01.403