no command are working after i did this. i can still use the desktop and yes i fell silly
Acer Aspire ES1-533 Debian os
thanks for help :)
https://www.devopsroles.com/fix-grub-install-command-not-found-in-linux/
export PATH=/usr/sbin/grub-install/grub-install :/usr/local/sbin
source ~/.bashrc


You didn’t append this to your path, you just overwrote the whole value. You’ll need to use full paths to commands to edit the file and fix it like
export PATH="$PATH:/the/new/path/to/add"should it look like this
export PATH=$PATH:/usr/sbin/grub-installand should i edit the ~/.bashrc
I’m a little late to the party, but
PATHshould only consist of the directories, so it should look like this:export PATH=$PATH:/usr/sbin/