Created
February 9, 2020 15:31
-
-
Save linuswillner/f8c15385e8a88017a70bdc3f18a688a2 to your computer and use it in GitHub Desktop.
Add neofetch display to system login scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install neofetch | |
sudo cp motd.sh /etc/profile.d/motd.sh | |
sudo chmod +x /etc/profile.d/motd.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
printf "\n" | |
neofetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I know this is 4 years but i replaced neofetch with fastfetch and works still the same with Ubuntu 24.04 x64 LTS
sudo nano /etc/profile.d/motd.sh
sudo chmod +x /etc/profile.d/motd.sh