Let your terminal greet you like a pro

kartikpuri95

kartik puri

Posted on June 24, 2020

Let your terminal greet you like a pro

If you are a developer, the terminal is your one-stop for most of your day to day development activities. As a developer we made sure that our coding setup looks great, we have an amazing dark theme or minimal setup, etc, etc..

Recently I thought of making my terminal look geekier so I just added an echo in my bashrc file but that was not enough it has to look cool right? I just added the ASCCI representation of my profile picture.

So let's start by getting an image, I used one my own image that I created using gimp you can find the tutorial here

1. Create an ASCII art of your image

Alt Text

You can visit asciiart URL and convert your image into an ASCII version.

If you don't have an image you can find some beautiful ASCII art at ascii art archive

There are various tools to generate ASCII text I have used this one here

2. Let's get the things ready

  • First, open your terminal and create a new file nano mygreeting
  • Next, copy and paste you ASCII art and text to this file nano terminal

You can hit a few tabs to adjust in the center and save the file to use in future

3. Let's revive our terminal and add this as a greeting message

Now, we need to display the content of our file created in step 2 to get displayed in the terminal as soon as it is fired up

  • Open your bashrc file
    nano ~/.bashrc
    Alt Text

  • Add a small line at the bottom cat mygreeting and it's done

Fire up your terminal to have a look at your beautiful message waiting for you

Amazing right?

Cakewalk right !! Go ahead and try this let me know your thoughts in the comment section.

Thanks for reading!!

💖 💪 🙅 🚩
kartikpuri95
kartik puri

Posted on June 24, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related