Linux Tips

Create lovely ASCII textual content banners in Linux

SEOClerks

Beautiful ASCII text banners in LinuxLovely textual content banners in Linux

Discover ways to use two utilities referred to as figlet and bathroom to create lovely ASCII textual content banners in Linux terminal. Stylize your terminal!

 

Have you ever seen some trendy ASCII textual content banners throughout login to some servers? Or have you ever seen pages of this weblog which has titles written in ASCII? Take a look at few kinds beneath too.

_ _ _ _ _
| | | | | | | |
| | _____ _ __ _ __ ___| | |_ __ _| | | _____ ___ ___ _ __ ___
| |/ / _ ‘__| ‘_ / _ | __/ _` | | |/ / __| / __/ _ | ‘_ ` _
| < __/ | | | | | __/ | || (_| | | <__ | (_| (_) | | | | | | |_|____|_| |_| |_|___|_|____,_|_|_|____(_)______/|_| |_| |_|

 

_                        _ _        _ _

| |                      | | |      | | |

| | _____ _ __ _ __   ___| | |_ __ _| | | _____   ___ ___  _ __ ___

| |/ / _ ‘__| ‘_ / _ | __/ _` | | |/ / __| / __/ _ | _ ` _

|   <  __/ |  | | | |  __/ | || (_| | |   <__ | (_| (_) | | | | | |

|_|____|_|  |_| |_|___|_|____,_|_|_|____(_)______/|_| |_| |_|

 

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

 

|                         | |         | |

|  /  _   __| __    _ | __|  _` | | |  /  __|    __|  _   __ `__

   <   __/ |    |   |  __/ | |   (   | |   < __    (    (   | |   |   |

_|____|_|   _|  _|___|_|__|__,_|_|_|_____/_)___|___/ _|  _|  _|

 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/ / / / / / / / / / / / / / /
( ok | e | r | n | e | l | t | a | l | ok | s | . | c | o | m )
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|ok|e|r|n|e|l|t|a|l|ok|s|.|c|o|m|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

| _ ._._ _ |_|_ _.|| _ _ _ ._ _
|<(/_| | |(/_| |_(_|||<_>o(_(_)| | |

 

  _   _   _   _   _   _   _   _   _   _   _   _   _   _   _

/ / / / / / / / / / / / / / /

( ok | e | r | n | e | l | t | a | l | ok | s | . | c | o | m )

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/

 

++++++++++++++++

|ok|e|r|n|e|l|t|a|l|ok|s|.|c|o|m|

++++++++++++++++

 

 

|  _ ._._  _ |_|_ _.||  _  _ _ ._ _

|<(/_| | |(/_| |_(_|||<_>o(_(_)| | |

 

Lovely eh?

You possibly can create them too with instruments referred to as figlet and bathroom!

figlet device 

Its a command line textual content styling utility. You’ll want to set up figlet package deal. As soon as put in you’ll be able to provide textual content you need to stylize to figlet command and it’ll print trendy output in your terminal. You possibly can copy it and use it wherever.All above texts are printed utilizing figlet solely. By default it’s going to print in beneath type –

# figlet kerneltalks
_ _ _ _ _
| | _____ _ __ _ __ ___| | |_ __ _| | | _____
| |/ / _ ‘__| ‘_ / _ | __/ _` | | |/ / __|
| < __/ | | | | | __/ | || (_| | | <__ |_|____|_| |_| |_|___|_|____,_|_|_|____/

 

# figlet kerneltalks

_                        _ _        _ _

| | _____ _ __ _ __   ___| | |_ __ _| | | _____

| |/ / _ ‘__| ‘_ / _ | __/ _` | | |/ / __|

|   <  __/ |  | | | |  __/ | || (_| | |   <__

|_|____|_|  |_| |_|___|_|____,_|_|_|____/

 

There are checklist of choices acknowledged in its man pages. Few useful and essential are :

-c, -l ,-r : Heart/left/proper align text-f : Specify fontfile i.e. type (Listing of fontfiles)

# figlet -f digital -c kerneltalks.com
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|ok|e|r|n|e|l|t|a|l|ok|s|.|c|o|m|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

 

# figlet -f digital -c kerneltalks.com

                        ++++++++++++++++

                        |ok|e|r|n|e|l|t|a|l|ok|s|.|c|o|m|

                        ++++++++++++++++

 

In above instance we middle aligned textual content and used ‘digital’ fontfile (type).

Funtip : Rainbow shade your banners with lolcat

These textual content banners are helpful to stylize your server’s login screens and print message to customers in lovely method!

Beneath are few examples of figlet in fast run :

ASCII text banners using figlet utilityfiglet utility examples

 

rest room device

I do know its humorous identify (lol). Yeah however its a device which do exist in Linux! Verify if rest room package deal is put in or not and set up it if required. As soon as put in you’ll be able to submit textual content to rest room command.

Learn additionally : the right way to create ASCII banner in HPUX.

# rest room kerneltalks

# “”# m “”# #
# m mmm m mm m mm mmm # mm#mm mmm # # m mmm
# m” #” # #” ” #” # #” # # # ” # # # m” # ”
#”# #”””” # # # #”””” # # m”””# # #”# “””m
# “m “#mm” # # # “#mm” “mm “mm “mm”# “mm # “m “mmm”

 

# rest room kerneltalks

 

#                                  “”#      m           “”#    #

#   m   mmm    m mm  m mm    mmm     #    mm#mm   mmm     #    #   m   mmm

# m”   #”  #   #”  ” #”  #  #”  #    #      #    ”   #    #    # m”   #   “

#”#    #””””   #     #   #  #””””    #      #    m”””#    #    #”#     “””m

#  “m  “#mm”   #     #   #  “#mm”    “mm    “mm  “mm”#    “mm  #  “m  “mmm”

 

By default it’s going to stylize your textual content like proven in above instance. You might have extra styling choices. Few listed beneath –

-f : font-F : Filter to use to output (coloring)

Beneath are few examples of bathroom in fast run :

ASCII text banners using toilet utilityrest room utility examples

Source link

Related Articles

Back to top button