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 pull 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/Also use “…”, i.e.
export PATH="$PATH:.."so that it won’t break with whitespace in paths involvedThat’s true, although I thought you’re talking about including the dots into the path, which is absolutely not what anyone wants 😄