🎃 Give Your Servers a Spooktacular MOTD

Give your terminals a treat: a portable Halloween MOTD script (POSIX sh) with centered headers, fun ASCII art (cat, pumpkin, ghost, bat, spider), and optional color.

Table of Contents

Reliable Penguin is sharing a tiny treat for your terminals: a Halloween‑themed MOTD generator that works on everything from CentOS 7 to today.

Even production boxes deserve a bit of pumpkin spice.


What it is

A portable, POSIX‑sh script that prints a Halloween banner with centered headers (title, hostname, date) and classic ASCII art—bat, ghost, pumpkin, cat, or spider. Color is off by default for maximum compatibility; flip it on with --color.

  • Portable: plain sh, no bash‑isms required
  • Centered & width‑aware: auto‑detects width or accept --width N
  • Pick your familiar: --art=bat|ghost|pumpkin|cat|spider|random
  • Safe for old terminals: defaults to no color; 16‑color opt‑in

Get it

Clone or grab the script from the repo:

Using update-motd.d? Drop a one‑liner wrapper in /etc/update-motd.d/50-halloween that calls halloween-motd --stdout.


Use it

To write a static /etc/motd (one‑time), run:


Sample (cat @ 45 cols)


License

Copyright (c) 2025 Reliable Penguin, Inc.

This project is licensed under the
Creative Commons Attribution‑NonCommercial 4.0 International License.

You are free to share and adapt this work with attribution, for non‑commercial purposes only. Commercial use requires prior written permission from Reliable Penguin, Inc.


Happy haunting, and happy hacking! 🦇👻

Have a project or a problem?

Talk with a senior engineer for practical recommendations—no obligation.

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.