-bash command not found code example
Example 1: bash: gedit: command not found
First, try this:
sudo apt-get install gedit
or You can try this
sudo apt-get purge gedit gedit-common
sudo apt-get clean
After this try reinstalling with
sudo apt-get install gedit
Example 2: bash: nvm: command not found
source ~/.nvm/nvm.sh