From 6e3406f6655435f46a69a8f74edf74e529678d43 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Fri, 19 Aug 2016 11:12:25 -0400 Subject: [PATCH] motd escape codes --- FAQ.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FAQ.md b/FAQ.md index b182ce7..4a611a0 100644 --- a/FAQ.md +++ b/FAQ.md @@ -104,4 +104,10 @@ $ curl https://github.com/shazow.keys >> whitelist_keys $ ssh-chat --whitelist=$PWD/whitelist_keys ... ``` +## How do I add color escape codes to my motd file? +Use an editor that supports ANSI escape codes. For example: + +```bash +$ printf "\033[91mHello\033[0m world.\n" > motd.txt +``` \ No newline at end of file