This question already has an answer here:
Can someone tell me why I get this error when I try to add a repository and what if anything I can do about it?
When I try to add a repository using:
sudo add-apt-repository ppa:upubuntu-com/tor
I get the following error:
Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found