How To: Change Your Terminal Header

Change Your Terminal Header
Image via imgur.com

So, you want your terminal to be customized with awesome script every time you fire it up, huh?! Well, look no further because I am here to answer this calling!

This "How-To" Will be short, descriptive, and to the point! So, let's get right into it, shall we then?
_____________________________________

Step 1: Install the Application

The very first thing we will be doing is install the application that we need in order to do the bubble font.

do;
apt-get install figlet

Image via imgur.com

_____________________________________

Step 2: Open Up .Bashrc

Now, we need to open up and edit the .bashrc file with our favorite text editor. (I used gedit which is installed in kali linux by default)

do;
gedit /root/.bashrc

Image via imgur.com

_____________________________________

Step 3: Navigate All the Way Down to the Bottom

The header says it all.

Image via imgur.com

_____________________________________

Step 4: Add a Line of "Code"

Add the line: figlet {Custom Text} to the very bottom. Change out {Custom Text} for your text of choice. I used Kali Linux.

Image via imgur.com

_____________________________________

And There You Have It!..........

Just open up a new ROOT terminal, and you should have something similar to this:

Image via imgur.com

Do keep in mind, that this will be viewable only on a root terminal. i.e, you run a terminal as your root user, or you run a root terminal as a regular user (in kali, it's the little red terminal icon) and you will have the above picture.

_____________________________________

EXTRAS!!

Yes! Extras!

You don't only have to use figlet to do this. you could just as well type in any code and it will run before you will be able to type something into the terminal. Also, you could just display custom words without figlet. For example,

--------------------------------------------------------------------------------------------------------
---------------------------Control the code, control the world--------------------------
--------------------------------------------------------------------------------------------------------

Any questions after this "How-To"? Feel free to leave them in the comments!

Just updated your iPhone to iOS 18? You'll find a ton of hot new features for some of your most-used Apple apps. Dive in and see for yourself:

14 Comments

Why the negative Kudos guys? Is this How-To not good?

Cause pple r mean. I give u +1 :). It was great article. If there were something wrong with it, whoever marked you down should have had the decency to tell you why. But since he/she didn't, must not have had a reason to other than to be mean. It's unfortunate

Yea. Well, I wish to thank you for your +1! :) And also, as a side note, I thought this was supposed to be a community full of fun and equal opportunity for everyone.

I did this now.I love that sentence:
Control the code,Control the world.
So i put it there.Nice.
That is awesome.
And watch Mr.Robot S0108.(August 12th)
What a great life!
Hope you have a nice day.
------------------------------------DAGONCHU

Dragon;

Could you post a screenshot? Unfortunately I am unable to reply to the message you sent me due to my inability of verifying my email. I'm not sure what you mean by the color of the header? Or maybe just the color of the words is what you are talking about?

Ahhhhhhh, that's what you mean. You right-click on the terminal screen, and click preferences (or options) and then you navigate through the tabs until you find one that lets you change the color. If you need more help, don't hesitate to comment. :D

It is a good idea.
I'll try it.
Thank you.
Hope you have a nice day,AppleDash48.
-------------------------------------------------------DAGONCHU

Thank you, okay. :D You're welcome dragon! Anytime! I hope that you have a nice day as well.

Wow,i tried it on my Kali 2.0.
It still work!
Cool stuff.
Thank you.
---------------DAGONCHU

lol, cool thanks.

not working with error:
E: Unable to load package figlet

it would look like this
"apt-get" use the tick on the numberpad (-), nor (-) next to the zero

Share Your Thoughts

  • Hot
  • Latest