Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Useful motd
#!/bin/sh
echo
exec /usr/bin/uptime
#!/bin/sh
echo
exec '/bin/df' '-h' '/'
#!/bin/sh
echo
exec 'free' '-m'
@xtranophilist

This comment has been minimized.

Copy link
Owner Author

commented Oct 12, 2017

sudo su
cd /etc/update-motd.d/
chmod a+x 1-uptime
chmod a+x 2-df
chmod a+x 3-free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.