After I removed an app with purge, I cannot use sudo or apt-get any more and get this error.
-bash: /usr/bin/sudo: No such file or directory
Do you have any suggestions?
version: Ubuntu 16.04
Be careful when you remove system's software. I can think 2 solutions:
pkexec apt install sudo in order to install sudo.apt install sudo command in order to install sudo.After you install sudo look at the apt logs in order to see what other packages which depended on sudo package got removed and install them again.