create an executable script in /etc/update-motd.d/
example:
/etc/update-motd.d/50-poke
#!/bin/sh
PATH="$PATH:/usr/games:/home/ubuntu/bin"; fortune -s | pokemonsay
example:
/etc/update-motd.d/50-poke
#!/bin/sh
PATH="$PATH:/usr/games:/home/ubuntu/bin"; fortune -s | pokemonsay
No comments:
Post a Comment