Sudo Command Not Found
Your PATH is hosed!First check your.bashprofile file with: /usr/bin/nano /.bashprofilePrepend lines containing something like export PATH='/. ' with a # to comment them out. Save the file with ctrl O and exit nano with ctrl XThen check /etc/paths with: /bin/cat /etc/paths.It should look like this: /usr/local/bin/usr/bin/bin/usr/sbin/sbinYou can edit the file with /usr/bin/sudo /usr/bin/nano /etc/paths if required.If everything is fine enter source /.bashprofile or close the Terminal window and open a new one.Now sudo should work again. Then check all #export PATH=.
Re: Sudo command not working. For the typical single user workstation such as the desktop Debian system on the laptop PC, it is common to deploy simple configuration of sudo(8) as follows to let the non-privileged user, e.g. Penguin, to gain administrative privilege just with his user password but without the root password.
Sudo Command Not Found Ubuntu
Lines in your.bashprofile for potential errors. You may add them to your question to get help here.