In This Post, you are going to learn how you can make your termux to look like Parrot os without Installing Anything on termux.
When we use Termux we see $ before the cursor but in parrot os, you see Name of the User as well as time Etc. To get this feature we don't have to install anything in termux, we can just tweak the bash.hrc file to Get the cool looking bash.
In Bash.hrc file there is a variable called PS1, The value of this variable is by default "$" But we can change it to whatever we want by simple editing with any text editor. I have Created a Big command for you which will add the Parrot OS bash as soon as you paste it in termux and press Enter.
Copy the below code and paste it and it will change the look of your termux instantly But at Place of your name, You will see HaCk3r.
Please Copy the Full command and Press Enter To save the changes. Open new session or restart the Termux to see Changes.
Just change the Green part in below Command to add Your name in the parrot OS command line.
I know you can't directly edit the command unless you have enabled the Extra Keys in your termux. Just copy and paste this command to any text editor(or just WhatsApp) and then edit the green part with your name and copy again and past it in everything will work perfectly.
READ : Evil Eye Permanent Banner in Termux | Crazy banner Termux
When we use Termux we see $ before the cursor but in parrot os, you see Name of the User as well as time Etc. To get this feature we don't have to install anything in termux, we can just tweak the bash.hrc file to Get the cool looking bash.
In Bash.hrc file there is a variable called PS1, The value of this variable is by default "$" But we can change it to whatever we want by simple editing with any text editor. I have Created a Big command for you which will add the Parrot OS bash as soon as you paste it in termux and press Enter.
Install Parrot-OS Shell Command-Line in Termux:
Copy-Paste the Below code to Change the Look of your terminal.
Basic Parrot OS:
echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
PS1='\[\e[31m\]┌─[\[\e[37m\]\T\[\e[31m\]]─────\e[1;98m[@H4Ck3r]\e[0;31m───[\#]\n|\n\e[0;31m└─[\[\e[31m\]\e[0;35m\W\[\e[31m\]]────►\e[1;93m'" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
Please Copy the Full command and Press Enter To save the changes. Open new session or restart the Termux to see Changes.
Your name In Parrot OS:
Just change the Green part in below Command to add Your name in the parrot OS command line.
echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
PS1='\[\e[31m\]┌─[\[\e[37m\]\T\[\e[31m\]]─────\e[1;98m[@YourName]\e[0;31m───[\#]\n|\n\e[0;31m└─[\[\e[31m\]\e[0;35m\W\[\e[31m\]]────►\e[1;93m'" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
I know you can't directly edit the command unless you have enabled the Extra Keys in your termux. Just copy and paste this command to any text editor(or just WhatsApp) and then edit the green part with your name and copy again and past it in everything will work perfectly.
Uninstall Parrot-OS Shell Command-Line in Termux:
Just Paste this command And Parrot-Os Shell Theme will be removed from your Termux.
echo "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
PS1='\$ '" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
Conclusion:
Adding new Shell in your Termux doesn't help you in hacking but Editing Bash.hrc file will do. Using this shell it will feel a little different than normal bash. You can also change the color of the text as well as your name everything is customizable you can comment if you want to learn more related to bash.hrc file and you can also check how you can also read[How to add Custome header Text in termux] it's also related to bash.hrc file. Thanks for reading and as always Stay Ethical👾.
8 Comments
How to remove parrot os theme display...and And also when I want to get notified when you answer me the check box isn't work,following error shows
ReplyDelete'An error occurred while the server was being contacted'
I have added the Command to uninstall the Parrot-OS shell.
Delete[Try To comment using Your Gmail account]
(You are getting Notification when i reply?maybe From Bloggers side but thanks i will check that out)
noicee, can you add custom banner in the uppoer side of this custom parrot os, ita kinda cool, I change some color to fit my eyes.love that current working directory shown in the left side.
ReplyDeleteCustom banner, yeah i can. Do you have any good idea about new customization ?
DeleteBro how do I change the text colour
ReplyDeleteIts complicated bro you have the change the color code in the bash.bashrf file
Deletei cant eddit my name pls help
ReplyDeletePaste Below Code i termux , i have added your Name
Deleteecho "if [ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]; then
command_not_found_handle() {
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi
PS1='\[\e[31m\]┌─[\[\e[37m\]\T\[\e[31m\]]─────\e[1;98m[@DENZELPAUL]\e[0;31m───[\#]\n|\n\e[0;31m└─[\[\e[31m\]\e[0;35m\W\[\e[31m\]]────►\e[1;93m'" > /data/data/com.termux/files/usr/etc/bash.bashrc && exit
If you Wanna Learn about Termux and connect with more people like you then you can join our Discord Server Termux Discord Server