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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -