yboetz / motd

Collection of 'message of the day' scripts
889 stars 105 forks source link

May need full path to run lolcat #26

Closed ThorntonCloud closed 10 months ago

ThorntonCloud commented 10 months ago

On my Ubuntu 22.04 install, I had to specify the full path for lolcat to function. Otherwise 10-hostname-color did not display at all on the MOTD.

Full path: /usr/games/lolcat

/usr/bin/env figlet "$(hostname)" | /usr/bin/env lolcat -f

yboetz commented 10 months ago

Yes, I had to make the same change on my machine as well at some point.