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


Firstly, and most importantly, executing
grub-installrequires super-user privileges. Rather than adding it toPATHyou should instead run the command throughsudo. A regular user typically does not need any ofsbindirectories in theirPATH.As for the command itself, there are three things wrong with it:
/usr/sbin/grub-install/grub-installyou should just add/usr/sbin.PATHyou’ve overwritten the variable. Instead you needPATH=$PATH:/usr/sbin/:/usr/local/sbin(notice$PATH:at the beginning of the assignment).Also,
exportis unnecessary sincePATHis already an environment variable. (That’s also bashism but that’s likely an irrelevant issue).“bashism” made my day