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


Opening a new terminal should work, since those commands you posted affect just the running shell. If not, you broke something else.
Edit: Assuming you pit that export line into
~/.bashrc, just remove it. You might need to enable showing hidden files in your file explorer, them edit it as a text file.was able to remove the edit i made and commands are work
big thanks :)