Last News

Tuesday, November 25, 2025

Write Your Name on Termux

Write Your Name on Termux Using bash.bashrc (Easy Beginners Guide)

If you want to customize your Termux and make it look more professional or personal, one of the coolest tricks is to display your name every time you open Termux.
In this guide, you will learn step-by-step how to add your name using figlet and edit the bash.bashrc file.

This method is simple and works on all Termux versions.


---

✔ What You Will Do

Install the necessary packages

Edit the Termux startup file

Add a custom ASCII banner with your name



---

📌 Step 1: Install nano

The first tool we need is nano, a text editor that allows you to modify system files.

pkg install nano


---

📌 Step 2: Install figlet

Next, install figlet, a program that creates big ASCII-style text.

pkg install figlet


---

📌 Step 3: Navigate to the etc Folder

We need to edit the Termux startup file located in:

cd /data/data/com.termux/files/usr/etc

> If the user version works for you, use:



cd usr
cd etc


---

📌 Step 4: Edit bash.bashrc

Open the file using nano:

nano bash.bashrc

Scroll to the bottom and add this line:

figlet -f standard YourName

Replace YourName with your actual name.

Example:

figlet -f standard Mohamed


---

📌 Step 5: Save and Exit

Inside nano:

Press CTRL + X

Press Y to confirm

Press Enter to save



---

🎉 Final Result

Now close Termux and open it again.
You will see your name displayed in a cool ASCII banner every time Termux starts.

This gives your terminal a more personal and professional look.


---

✔ Tips

You can try other figlet fonts using:


figlet -I2

You can add colors using tools like toilet or lolcat.

No comments:

Post a Comment

Comments

Adbox