22
submitted 18 hours ago* (last edited 18 hours ago) by RavenofDespair@lemmy.ml to c/linux@lemmy.ml

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
[-] Cyber@feddit.uk 1 points 2 hours ago

Yeah, after reading the other comments in here, you should be able to re-read that page and see it's not the best advice.

Top Tip: if you're testing things, you'd modify PATH in the current session first, check that fixes the problem and only then modify any environmental files like .bashrc, etc. so if something got borked you could just logout and in again...

That page reminds me of Windows self-help pages that ask readers to defrag the harddrive in order to get a printer working.

this post was submitted on 27 Dec 2025
22 points (100.0% liked)

Linux

57274 readers
637 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS