▲ 23 ▼ help made mistake with export and ~/.bashrc (lemmy.ml) submitted 7 months ago* by RavenofDespair@lemmy.ml to c/linux@lemmy.ml 21 comments fedilink hide all child comments 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
[–] RavenofDespair@lemmy.ml [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 permalink fedilink source parent hideshow 2 child comments replies: [–] halfdane@lemmy.world 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/ permalink fedilink source parent hideshow 2 child comments replies: [–] jokro@feddit.org 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 permalink fedilink source parent hideshow 4 child comments replies: [–] halfdane@lemmy.world 3 points 7 months ago That's true, although I thought you're talking about including the dots into the path, which is absolutely not what anyone wants 😄 permalink fedilink source parent [–] SchwertImStein@lemmy.dbzer0.com 1 point 7 months ago The guy I'm replying to means quotation marks (") permalink fedilink source parent
[–] halfdane@lemmy.world 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/ permalink fedilink source parent hideshow 2 child comments replies: [–] jokro@feddit.org 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 permalink fedilink source parent hideshow 4 child comments replies: [–] halfdane@lemmy.world 3 points 7 months ago That's true, although I thought you're talking about including the dots into the path, which is absolutely not what anyone wants 😄 permalink fedilink source parent [–] SchwertImStein@lemmy.dbzer0.com 1 point 7 months ago The guy I'm replying to means quotation marks (") permalink fedilink source parent
[–] jokro@feddit.org 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 permalink fedilink source parent hideshow 4 child comments replies: [–] halfdane@lemmy.world 3 points 7 months ago That's true, although I thought you're talking about including the dots into the path, which is absolutely not what anyone wants 😄 permalink fedilink source parent [–] SchwertImStein@lemmy.dbzer0.com 1 point 7 months ago The guy I'm replying to means quotation marks (") permalink fedilink source parent
[–] halfdane@lemmy.world 3 points 7 months ago That's true, although I thought you're talking about including the dots into the path, which is absolutely not what anyone wants 😄 permalink fedilink source parent
[–] SchwertImStein@lemmy.dbzer0.com 1 point 7 months ago The guy I'm replying to means quotation marks (") permalink fedilink source parent