Basic Commands Using Termux

Ronnie Joseph
Bug Bounty Hunting
Published in
2 min readAug 10, 2018
Termux App

What is Termux ?

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically — additional packages are available using the APT package manager.

Apps like Termux also enable anyone to enumerate subdomains very easily using available tools like Knockpy.

We will be seeing some of the basic commands to use in termux app.

TO UPDATE

apt update

Check whether termux is properly installed

pkg install sl

sl

Now you will be seeing a moving train if all is well with the setup of Termux.

Know all running processes in Termux

top

Display text in a different style

apt install figlet

figlet anyword

You will get the text in a different style.

See Matrix background animation on Termux

apt install cmatrix

cmatrix + ENTER

Find factors of a number

pkg install coreutils

factor 1337

Go to the friendly interactive shell, fish

apt install fish

fish+ENTER

Fish command autocompletes the commands. Type exit to go out.

To see text in colorful style

apt install toilet

toilet -f mono12 -F green BugBounty

To open any site in termux

apt install w3m

w3m google.com

Installing Metasploit in Termux

First, install curl

pkg install curl

after that:

curl -LO https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh

Get access permission

chmod 777 metasploit.sh

./metasploit.sh

In the same manner, you can install packages according to the need easily through any smartphone.

There are a lot of Termux packages available on Github which can be easily installed and configured. Let me link you to the Official github repo of termux packages- Termux Packages

--

--