Honestly I don’t understand what this is showing. I guess it’s how long the lid was open?
Speaking of bash prompt: https://mina86.com/2015/bash-right-prompt/
Honestly I don’t understand what this is showing. I guess it’s how long the lid was open?
Speaking of bash prompt: https://mina86.com/2015/bash-right-prompt/
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:
PATHshould only include directories whereas you tried to add to it a path to an executable. So rather than/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).