getting an error on ubuntu : Command 'sudo' is available in '/usr/bin/sudo' -
i trying install java . getting following error .
:~$ sudo apt-get update command 'sudo' available in '/usr/bin/sudo' command not located because '/usr/bin' not included in path environment variable. sudo: command not found
i dont know how resolve problem?
you can check content of path variable executing command $ echo $path
if not find /usr/bin in output can append /usr/bin in path variable executing command
$ export path=$path:/usr/bin
Comments
Post a Comment