Skip to content

Display a message at login (CentOS7)

   

If you are managing multiple servers, you may accidentally log in to a different server.
The characters to be displayed at login are written in $/etc/motd.
It's hard to notice when it's just text, so I use figlet command to create AA.

install figlet

$ brew install figlet

show message

$ figlet rikako.jp

      _ _         _           _
 _ __(_) | ____ _| | _____   (_)_ __
| '__| | |/ / _` | |/ / _ \  | | '_ \
| |  | |   < (_| |   < (_) | | | |_) |
|_|  |_|_|\_\__,_|_|\_\___(_)/ | .__/
                           |__/|_|

$ figlet swiswiswift.com

              _              _              _  __ _
 _____      _(_)_____      _(_)_____      _(_)/ _| |_   ___ ___  _ __ ___
/ __\ \ /\ / / / __\ \ /\ / / / __\ \ /\ / / | |_| __| / __/ _ \| '_ ` _ \
\__ \\ V  V /| \__ \\ V  V /| \__ \\ V  V /| |  _| |_ | (_| (_) | | | | | |
|___/ \_/\_/ |_|___/ \_/\_/ |_|___/ \_/\_/ |_|_|  \__(_)___\___/|_| |_| |_|

set width

figlet -w 200 simple-video-chat.work

     _                 _                 _     _                       _           _                      _
 ___(_)_ __ ___  _ __ | | ___     __   _(_) __| | ___  ___         ___| |__   __ _| |___      _____  _ __| | __
/ __| | '_ ` _ \| '_ \| |/ _ \____\ \ / / |/ _` |/ _ \/ _ \ _____ / __| '_ \ / _` | __\ \ /\ / / _ \| '__| |/ /
\__ \ | | | | | | |_) | |  __/_____\ V /| | (_| |  __/ (_) |_____| (__| | | | (_| | |_ \ V  V / (_) | |  |   <
|___/_|_| |_| |_| .__/|_|\___|      \_/ |_|\__,_|\___|\___/       \___|_| |_|\__,_|\__(_)_/\_/ \___/|_|  |_|\_\
                |_|

set font

figlet -f colossal -w 200 swiswiswift.com

                     d8b                     d8b                     d8b .d888888
                     Y8P                     Y8P                     Y8Pd88P" 888
                                                                        888   888
.d8888b 888  888  888888.d8888b 888  888  888888.d8888b 888  888  888888888888888888    .d8888b .d88b. 88888b.d88b.
88K     888  888  88888888K     888  888  88888888K     888  888  888888888   888      d88P"   d88""88b888 "888 "88b
"Y8888b.888  888  888888"Y8888b.888  888  888888"Y8888b.888  888  888888888   888      888     888  888888  888  888
     X88Y88b 888 d88P888     X88Y88b 888 d88P888     X88Y88b 888 d88P888888   Y88b. d8bY88b.   Y88..88P888  888  888
 88888P' "Y8888888P" 888 88888P' "Y8888888P" 888 88888P' "Y8888888P" 888888    "Y888Y8P "Y8888P "Y88P" 888  888  888

view raw figlet.md hosted with ❤ by GitHub

  1. Installing Rails on CentOS7