Display Custom Text And Time Everytime You Open Terminal On Linux


Customizing terminal has always been a enjoyable trend and passion to Linux users, specially to those who are new to Linux. And this article is perfect for those who loves CLI rather than GUI. Wouldn’t you love to be able to customize your terminal, like in the picture below?

Perform the the steps below to achieve the same results as in the above image:

To show the customized text and date/time on terminal, we will need to install a small package named Figlet, and edit a system file named bash.bashrc. So lets start by installing Figlet.

Step 1 Install Figlet

For hardcore/advance users this ain’t even a step, you know what to do. For novice users follow the below to install figlet.

Open terminal and enter the following command, you will need root permissions to perform this task.
Sudo apt-get install figlet
Now the figlet package should be installed successfully, if not try below
Sudo apt-get update
then again,
Sudo apt-get install figlet

Step 2 Edit bash.bashrc File
Now that we have install our package lets add the customized text. Again you will need root permissions to edit and add your custom text.
To edit the file enter the following command on terminal
For CLI editor
sudo nano /etc/bash.bashrc
For GUI editor
sudo pluma /etc/bash.bashrc
Or use whatever your favourite text editor is.

Now scroll to the end of the file and then add your custom text and save it like in the image below,

I want to show ‘sombii@sombex’, so I typed that.
Again lets add the date/time, to show date/time type ‘date’ below on new line after your customized text. You have successfully added the custom text, see for yourself by opening a new terminal.

You can be happy with what it looks like or you can customize format of date/time. You can show only the date or only time and in other formats too. View examples below.

To show date only,

date +"%m-%d-%y"

To show time only,

date +"%T" Or for 12-hr clock time date +"%r"

If you want to learn more about date/time formatting here’s an article for it.

So thats all, hope that you were able to follow the instructions without any issues, if any please comment below. I would love to help you.


  1. I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. professionals. I thank you to help making people more aware of possible issues. google maps alternatives

  2. It doesn't work for me 'cause Figlet doesn't want to install

  3. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. texting service for small business

  4. This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info: best texting service

  5. How can remove smart LTE lock to my phone

  6. The Master's Guide to text message customer service
    A large number of private companies use instant message advertising to empower expanded promoting commitment from possibilities and clients. As far as we can tell, most independent ventures use text showcasing to produce expanded client securing, convey advancements and warnings, augment client support viability, and increment inside productivity.
    From retail organizations and not-for-profit associations to land and eateries, text showcasing is utilized by more independent companies than at any time in recent memory.

  7. Succeed! It could be one of the most useful blogs we have ever come across on the subject. Excellent info! I’m also an expert in this topic so I can understand your effort very well. Thanks for the huge help. handcrafted leather bags

  8. Texting is an extremely effective communication & marketing channel for tax preparation services. 98% of text messages are read within 3 minutes of receipt! That’s significant when you consider that 90% of emails are considered SPAM so email marketing for tax professionals just isn’t as effective anymore. Whether you are marketing an accounting firm or just tax preparation marketing

  9. We’re a tax preparation company in textellent in providing tax planning/tax filing, firm registration, and financial services. We are working with Individuals, Businesses, Charities in the world, and offering them professional tax services with their unique tax filing requirements tax preparation services