/update-motd.d/10-help-text

http://github.com/brinkman83/bashrc · Shell · 11 lines · 9 code · 1 blank · 1 comment · 1 complexity · 63efa9c5c55b4fc59f59087e9139ab1d MD5 · raw file

  1. #!/bin/sh
  2. if uname -r | grep -qs "\-server"; then
  3. echo
  4. echo "Welcome to the Ubuntu Server!"
  5. echo " * Documentation: http://www.ubuntu.com/server/doc"
  6. else
  7. echo
  8. echo "Welcome to Ubuntu!"
  9. echo " * Documentation: https://help.ubuntu.com/"
  10. fi