Is it possible to send messages to other users (i.e. via the wall
and/or write
commands), with colors in the message? I have a shutdown script that kicks other users off of a shared file server, and I want to make the message more obvious to them by either making it red, or piping it through lolcat
and cowsay
.
I've attempted to paste Bash color codes (i.e. RED='^[[31m'
), but they get converted to plain printing characters.