[HowTo] Add welcome text in your terminal

In this new article, I will simply explain [HowTo] add a custom welcome message in your Linux terminal. Look mine 🙂

Screen Shot 2014-09-29 at 13.01.44The installation is very simple. Just install figlet software.

sudo apt-get install figlet

Figlet is created to display large characters made up of ordinary screen characters. And now, just edit user’s .bashrc file.

nano /home/heartbleed/.bashrc

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

figlet -c "W3lc0m g33k"

The -c option center the text. You can see the full list of option using man page. Now just close and open your favorite terminal and you will see your message 🙂

 

Bookmark the permalink.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.