I have this problem on fresh install of Debian 8 (after doing
nano is installed but when I try to use it to open a file :
-bash: /usr/bin/nano: No such file or directory
I removed and reinstalled nano I get:
Setting up nano (2.7.4-1) ... update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode
/usr/bin/editor myfile.txt I can open the file.
Why does this happen? How can I fix it?