03-03-2019, 11:40 AM
This should explain it better, note that the apt-get remove in this case represents the rm command:
Quote:root@ro:~# touch /usr/bin/bla
root@ro:~# chmod +x /usr/bin/bla
root@ro:~# rm /usr/bin/bla
root@ro:~# bla
-bash: bla: command not found
root@ro:~# touch /usr/bin/bla
root@ro:~# chmod +x /usr/bin/bla
root@ro:~# bla
root@ro:~# rm /usr/bin/bla
root@ro:~# bla
-bash: /usr/bin/bla: No such file or directory
root@ro:~#