Parrot-OS Shell Command-Line in Termux - 2020

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.


Install Parrot-OS Shell Command-Line in Termux:

Copy-Paste the Below code to Change the Look of your terminal.

Basic Parrot OS:

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.

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



READ : Evil Eye Permanent Banner in Termux | Crazy banner Termux

 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👾.


Comments

Disqus Comments