Skip to main content

How to create a Banner on Terminal (kali Linux)


Hey, welcome! We are so glad that you’re here. We’ve seen a lot of terminals where people get welcome banners when they open it. Cool, right? It feels awesome to have a banner like that which gives a small shot of adrenaline whenever you open the terminal which shows the name / welcome greet / anything you set.

Here we will help you step by step how to set that thing on your terminal forever and change it when/what you like.

The banner we are going to create on the terminal is created by using figlet tool in Linux; to do so;

1.Fire up a terminal in your Linux machine.


2. Type-In: "sudo apt-get install figlet"






3. Check for the type of shell by: "echo "$SHELL"






4. For the bash terminal: "/root/.bashrc" 


5. For the zsh terminal: "/root/.zshrc"


6. Edit the ".bashrc" or ".zshrc" file by your favourite text editor (vim, nano, gedit...) and scroll down to bottom line of the file.






7. Now add a new line in the format: "figlet -f <font name> -w <width size> -l/-c/-r <Your Text to show>"


- For fonts, use command in another terminal: "showfigfonts"


- To align the text to the center of the terminal: "figlet -c hello"


- To set the width of the text: "figlet -w 100 hello"


- To align the text to left or right: "figlet -l (or) -r hello"






















Comments

Post a Comment

Popular posts from this blog

Want to earn real money by doing simple tasks?

 Hey guys! We bought you today an intelligent way to earn pocket money by ding some simple tasks. Before we go ahead, I would like to let you know that the application details that I am going to share with you are legit and works 100%. The app is created and owned by Google, a company which we use daily and we know it is not illegal or leave you out for dry. So, when I say "it's legit" I mean it. So, Google has an app called opinion rewards which was started in 2016 and came to India in May of 2017. This opinion rewards app gives you a few quizzes a month to get your opinion and rewards you with the playstore money which you can spend only in the playstore to purchase apps / books/ movies. In the recent months, Google has released an app called Task mate in the playstore with early access. This is similar to the opinion rewards app but through this app you can give the accurate answers to the survey and get rewarded with the real money. Once you reach the threshol

All you need to know about Windows 11

 Hey there, Nerds! Lurking around to see what's new in Windows 11? Well, we got you covered. We are going to discuss the new features of W11. So, without further ado, let's get into it.    In the trailer video, they showed us a glimpse of what we can do with W11. Haven't watched the trailer yet? Click here ; Here's what they show: 1. Touch screen, pen and voice 2. Microsoft store with android apps 3. Start and other pinned Icons are at the middle of the taskbar 4. Available with most popular manufacturers 5. Multi-tasking with multiple windows open at the same time 6. Widgets 7. New gaming experience (as they claim it)   1. Touchscreen, Pen and Voice : These bought the revolutionary change in past few years and changed the way how we use the tech devices. Well, these are available only on particular brand laptops while cost varies from one another. 2. Android apps in Microsoft store : We can say this is a new beginning for Microsoft. If you are a Windows user for a lo