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 are viewing a single comment's thread
view the rest of the comments
[–] [S] 2 points 7 months ago (1 child)

should it look like this export PATH=$PATH:/usr/sbin/grub-install

and should i edit the ~/.bashrc

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 7 months ago (1 child)

    I'm a little late to the party, but PATH should only consist of the directories, so it should look like this:

    export PATH=$PATH:/usr/sbin/

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 7 months ago* (2 children)

    Also use "...", i.e. export PATH="$PATH:.." so that it won't break with whitespace in paths involved

  • source
  • parent
  • hideshow 4 child comments