Skip to main content

easy How to Use Termux For Beginners (Complete) | #rajbhx

easy How to Use Termux For Beginners (Complete)

Post author:@rajbhx

What is termux?


Termux is a terminal android application that can run all programming such as python, ruby, php, etc. In addition, termux can also be used to run the Linux operating system.

Simply put, termux is a tool for installing and running programs. The program can be a script or a project.

Released on June 30, 2015 by Fredrik Fornwall, now the termux application has been downloaded by more than 10 million users.

The size of the termux is 17mb. But if it is loaded with many programs, the size can exceed 1gb.

This is an example of the termux storage size which is already 700mb.



To run the termux application, we only need to enter a command.

Example:

clear is the termux command to clear the screen.

before running the clear command

If you write clearin the Termux application, Termux will delete all text on the screen.

after running the clear command

Does termux need root access?

Termux does not require root. So you can install it directly without having to root Android.

However, Termux requires an internet connection to install and run a program.

Okay, now to the installation.

How to install Termux on Android

Open the google play store application.
Then type termux in the search box.
Press install on the termux application details.
Once installed, hit open.
Wait for the installing process to finish.

Well, now the Termux application is installed. This is the initial look.

termux home screen

How to use? Please follow the steps below.
How to use termux

In the following, we have listed the steps in order. Besides that, we have also added details so that you can understand it easily.
Step 1: Enter the command into the termux application

As we mentioned earlier, termux will only run when it receives commands.

You can use the android keyboard that appears on the screen to write commands.

termux keyboard

What commands should be entered?

The order depends on what you want to do.

For example, here are some basic termux commands and their functions.
ls = (lowercase dark LS) displays the contents of the file
cd = open directory
pkg install <package name> = installs a programming packet
apt list = lists all installed programming packages and not.

As for writing the termux command that you must obey:
Writing commands in termux must be lowercase.
After writing the command, press enter on the keyboard to run the command.

Examples of using the command in termux:

Suppose you want to write the command apt-list to see what packages are installed.

Then write it apt list then press enter.

Then termux will display like this.

the result of the apt list termux command

That is all the package lists from termux. Those already installed are marked with the word [Installed].

Because you just installed Termux, so there are no Termux packages installed.

You can find a list of all commands on the termux command page and their functions.
Step 2: Install packages and modules

Package and module are 2 things that are needed by termux in order to run the program.

Examples of packages are python , php , wget , etc.
While examples of modules are mechanize , request , bs4 , etc.

What packages and modules should be installed?

It all depends on what program or script you want to run.

Each termux script has its own package and module. Usually it is listed in the script description. So you can easily do whatever is needed.

Sample case:

Script A requires the python, php and openssh packages. Then also need six and beautifulsoup4 modules.

In order for termux you can run script A, you have to install python, php, openssh, six, and beautifulsoup4.

Use the command pkg install + package name to install the package .

Example:pkg install python


The command above is used to install the python package.

Meanwhile, to install a module, use the pip install command + module name .

Example:pip install mechanize


The above command is used to install the mechanize module.

Note:

Especially for scripts that use python2 programming, the module installation command must use pip2.

Example: pip2 install requests

Packages and Modules are only installed 1x. This means that if you have installed the python package, all scripts that use python programming can be run on your termux.

Then to install more than one packet or module on the command line, you can combine the names.

Example:pkg install wget git bash


The command above is to install the wget, git, and bash packages together.

During the package installation process, there will be a notification about the information about the package to be installed. An example is as shown below.
 
giving information about a package that will be installed termux

It is the file size information and asks if you want to install the package with that size?

To confirm, press Y on the keyboard then enter . Then the installation process will continue.

Sign when the installation process is complete is the appearance of the $ icon. This means that termux is ready to accept the command again.

Tips:

So that your Termux application is ready to use, then please install all the packages and modules that are often needed below.pkg install python python2 git php bash wget nano ruby toilet figlet openssh cowsay
pip install mechanize request bs4 six beautifulsoup4 urllib3gem install lolcat

Step 3: Clone the script file

Nearly 90% of users use termux is to run scripts. The script is a reflection of the user's goals.

Example:

We want to install the FB comment bot script, so our goal is definitely to run the comment bot for Facebook, right?

What are your goals for you? Want to hack facebook, wifi or even don't have a goal. hehe. Calm down, the important thing is that you understand the basic concept first.

Okay, continue ..

You can clone the termux script from the address where the script is stored. Most of the script files are stored on github. There is also a small part stored in gitlab and pastebin.

Github is a shared web hosting service for software development. This service is used by developers to store code from a project including the termux script.

How do I clone the Termux script from Github?


First you have to install the git package (pkg install git) then write the git clone command followed by the address of the script itself.

Example:







Script A is stored at the following address https://github.com/benjholla/AndroidReverseShell.git, so to install it, use this command.git clone https://github.com/benjholla/AndroidReverseShell.git


Information:
https://github.com/termux is the address of a developer account.
AndroidReverseShell is the name of a script.

https://github.com/benjholla/AndroidReverseShell.git .

Likewise, if the developer uploads, the link becomes https://github.com/benjholla/AndroidReverseShell.git .

During the script installation process, wait for the process to finish 100%. Don't press any buttons to avoid problems.
Step 4: Run the installed script

After successfully cloning the script, the next step is to run the script.

The trick is to execute the main file of the script. To find the main file, you have to open the folder of the script itself.

Does the script have folders?


Yes, of course. When the script is successfully cloned to termux, the script will be converted into a folder automatically. Use the ls command to display it.

Example:

Here we have installed the AndroidReverseShell and rajbhx scripts.

When entering the ls command, termux will display the folders of the AndroidReverseShell and rajbhx scripts.

termux ls command

Then use the command cd + folder name to open the folder .

For example the folder name is AndroidReverseShell, then the command to open the folder is AndroidReverseShell .

Now, just look for the main file.

The main file of a script is marked with the .py, .sh, and .php suffix.

What does it mean?


The suffix is ​​the programming language of the script itself.

.py for python,
.sh for bash,
.php for php programming.

To view files from the script folder, use the ls command.

How come it's again?

Yes, the function of ls is to display files and folders from a directory.

For example, you are in the sdcard directory. When you enter the ls command, all files and folders on the sdcard will be displayed.

Then you enter the download folder (cd Download). After that, enter the ls command again, then all files & folders in the download folder will be displayed. Do you understand?

Alright, let's continue ...

After finding a file that ends in .py / .sh / .php, the next step is to execute the file.

The trick is to use the execute command according to the programming used.

python for .py files,
bash for .sh files,
and php for .php files.

Example:

A main file called main.py, so to execute the file must use the command python main.py.

Likewise if the file is .sh or .php. Use command bash main.pyorphp main.php

Note:
For files .py can also be executed in python2 . This is because the programming uses python version 2.

Example: python2 main.py

Then the .sh file can also be executed with sh and ./

Example: sh main.shor./main.sh

After executing the main file of a script, the script will run. The initial appearance varies depending on the script maker.

What to do next?


Your task is to select the menu from the script and enter the data the script asks for.

Selecting the menu can be by pressing the numbers according to the list and to enter data, just type from the keyboard.

Okay, so that you can understand better. In the following, we will demonstrate using Termux.
Example of how to use termux to install and run MTK scripts.

MTK is a termux script to help solve math problems.

The following is information about the MTK script:

Package:

php, git.

Module:

There is no

Main file:

mtk.php

Script address:

https://github.com/storiku/MTK

Now, let's install the MTK script into termux.

1. Install the MTK script package

Open the termux application then write the command to install the package required by the mtk script.

Just type the following command in the termux application:pkg install php git





2. Clone the MTK script file to termux

The script link is listed, just add the git clone command.

So the complete command will be like this:





git clone https://github.com/storiku/MTK


Wait for the installation process to complete.

3. Open the MTK scripts folder

To open this script use the command





cd MTK .

4. Execute the main MTK script file

The main file of this script is mtk.php. The file uses php programming.

So to execute the main file you have to use the command php mtk.php.

This is the initial view of the MTK script.

Initial view of the MTK script

5. Select the menu from the MTK script

There are 4 menus from the MTK script, namely:
Addition
Subtraction
Multiplication
Division

For example, if you want to select the multiplication menu, then press the number 3 on the keyboard and press enter.

menu selection script mtk

6. Enter the data requested by the script

After selecting the menu, the script asks for multiplication data as shown below:

enter the multiplication data

Enter the multiplication:

Please enter any number. For example 30, then press enter.

Then the script will ask for data back like this:

enter the multiplier

At times:

This means enter a number to multiply the previous number. for example 12, then enter.

After entering all the data, the script will immediately perform the multiplication between 30 and 12.


the result is 30 x 12

The result, the script will show a result of 30 × 12, which is 360.

So, until here you can install and run the MTK script in the Termux application. How, easy right?

More or less the process will be the same when you run another termux script.
How to use termux for hacking?

This is a question that has been eagerly awaited by those of you who want to learn Termux. Is not it?

The termux application can indeed be used for hacking. But termux cannot work alone. You have to install additional programs or scripts that support the hacking process.

We have also created ethical hacking articles using Termux.

Alright, now we will share the use of Termux for hacking.
Install hacking tools

Hacking tools are useful to help you in the hacking process. But you also have to know how to use these hacking tools.

Examples of tools that are often used in hacking activities are metasploit, hydra, and nmap.

Have you ever heard of these tools?

If you haven't already, you must learn it so you can launch hacking actions on Termux.

To install the tools is not difficult. The method is the same as installing the script that we described earlier.

Example:

To install metasploit, you only need to write a command pkg install metasploit.

Before installing hacking tools, you also need to know what tools are suitable for hacking targets.

For example, if you want to hack your Facebook account, what tools should you use?

Well, you guys don't know right?

Therefore, here we have recommended some hacking tools for you to try.
Dark FB
Multybf_ig
Weeman
Wifiphising

Darkfb is used to hack Facebook accounts, Multybf_ig to hack ig, Weeman to create phishing pages, and wifiphising is used to hack wifi dashboards.

We have made a complete scriptway to use each of the tools above. All you have to do is search using the search from the termux.id blog.

In conclusion, so that you can hack in Termux, you must first know the use of the hacking tools that will be used.

In other words, your skills or skills will determine the termux hacking process.

Well, apart from hacking, what else can termux be used for?
Use of Termux

The presence of Termux does provide many benefits, especially for those who like IT.

Likewise, all actions can be executed in the termux application.

Here we have summarized some of the uses of the Termux application.
Install and run a hacking program.
Doing spamming activity.
Create and run bots (facebook, instagram, etc.).
Access the internet without Java scripts and css.
Can be used as an SSH client.
Manage android storage (copy, delete, move, extract files).
Mining dollar (Nuyul).
Create a backdoor.

Apart from the 8 examples above, there are still many other uses of Termux that haven't been exposed yet.
Conclusion

In order to be able to use Termux, there are two keys, namely knowing the Termux commands and their functions and being able to operate scripts / programs.

All activities carried out in the Termux application are entering commands and operating scripts / programs. So if you already understand these 2 things, then using Termux is an easy thing.

Well, that's the discussion this time. Hope it is useful.

Popular posts from this blog

[Apk Setup] Alpine-term App | without using termux

Install and Setup Alpine Term in Android App Welcome to the world of terminal and Linux environment on your Android device! 📲 In this blog post, we will guide you through the installation and setup process of Alpine Term, an amazing application that brings the power of Alpine Linux to your fingertips. Let's get started! 🚀 What is Alpine Term App? 🏔️ Alpine Term is a terminal and Linux environment application for Android. It utilizes Alpine Linux, running inside a headless x86_64 machine emulated with QEMU. The interaction with the operating system is done through terminals attached to the serial consoles of the virtual machine. This allows you to run commands, execute scripts, and experience a Linux environment on your Android device. System Requirements 📋 To install and use Alpine Term, make sure your device meets the following requirements: 📱 AArch64-based device. 🆙 Android 7.0 or higher. 💾 At least 500 MB of free space on the internal storage. 🌐 ...

Cloudflared in Termux to Create tunnels, Port Forwding

Step-by-Step Guide: Installing Cloudflared in Termux for Android (Alternative to ngrok) | 2024" J Link updated https://github.com/rajbhx/cloudflared-termux What is cloudflare Cloudflare, Inc. is an American content delivery network and DDoS mitigation company, founded in 2010. It acts as a reverse proxy between a website's visitor and the Cloudflare customer's hosting provider. Its headquarters are in San Francisco, California Usages cloudflared -url [localhost]:port_number] example : cloudflared -url localhost:8000 cloudflared tunnel localhost:[port_number] Installation Make sure your Termux app updated The commands you provided are the steps to install Cloudflared in Termux using the `rajbhx/cloudflared-termux` repository. Here's a breakdown of each command: 1. Update and upgrade packages:    ```    pkg update && pkg upgrade && pkg install git    ``` 2...

How to install and setup vShell in android app |कैसे इनस्टॉल करें

How to install and setup android vShell(Virtual Shell) app (no root) कैसे इनस्टॉल करें YouTube video link What is Android-vShell app vShell is a  virtual shell environment application  for the Android OS. A virtual Linux shell environment application for Android OS. Runs Alpine Linux in QEMU system emulator.  It provides a virtual machine running small Linux distribution ready for the use out-of-box. Application implements my view on how Linux terminal environments can look like on Android OS. As operating system security is getting more and more hardened over time (which is good btw), it become impossible to abuse design flaws such as executable user data to run Linux native executables. Ability to...

How to extract Details from any mobile number Using termux | rajbhx

How to extract Details from any mobile number | termux | jarvisstaraq.blogspot.com What is truecallerjs Truecallerjs : A simple package to search phone number details.this tool also work in android and Termux app jarvisstaraq.blogspot.com Requirements Android phone Termux Proper valid Mobile Number(Phone number verification for truecaller) Truecaller InstallationId jarvisstaraq.blogspot.com Installation in Termux Installing Node.js, Git, and Wget in Termux:  To install Node.js, Git, and Wget in Termux, follow these steps: 1. Open your Termux app. 2. Run the following command to update the package lists:     ```    pkg update    ``` 3. Next, install Node.js using the following command:    ```    pkg install nodejs    ``` 4. Install Git using the command:    ```    pkg install git    ``` 5. Lastly...

My Termux | How to install Lazymux in Termux #rajbhx

My Termux | How to install Lazymux in Termux Lazymux t00ls !nstaller !s very easy t0 use, 0nly pr0v!ded f0r lazy Termux users, just k!dd!ng. Lazymux !s a t00l that !s spec!ally made f0r Termux user wh!ch pr0v!des a l0t 0f t00l ma!nly used t00ls !n Termux, Lazymux !nstall any 0f the g!ven t00ls pr0v!ded by !t fr0m !tself w!th just 0ne cl!ck, and Lazymux always get updated.  What !s Python 3?   My Termux | How to install Lazymux in Termux @rajbhx How to Install Oh My Zsh How to download copyright free GAME PLAY CODM/PUBG/BGMI/FreeFire Call of duty mobile 60fps   How to install FacebookToolkit in Termux + linux + windows 10/11 Download any video with termux using youtube-dl | #rajbhx HOw to install Raspbian 9 (Stretch) in Termux #rajbhx On Decembe...

How to install & use report-fb-account-termux tool in termux

report-fb-account-termux   [+]  Disclaimer : This tool is only for educational purpose. The developer is not responsible for any abuse of it.   [+] Installation apt update && apt upgrade -y apt install git python -y git clone https://github.com/jarvisstar/report-fb-account-termux.git cd autoreport python3 ar.py Or, Use Single Command apt install git python -y && git clone https://github.com/KasRoudra/autoreport && cd autoreport && python3 ar.py Screenshots:   Usage: Search "findfbid" in google to get victim's profile link. Such as Website1 , Website2 , Website3 , Website4 . Enter the victim's facebook profile link in the website, generate and copy the numeric id in clipboard. Run the script and enter or paste that id when asked! [+] Note: AUTOREPORT DOES NOT DISABLE ACCOUNT UNLESS THERE IS SPECIFIC POST(S)...

How to install | instagram reporting 2 tool termux by jarvisstaraq

How to install | instagram reporting 2 tool termux by jarvisstaraq Assuming the client truly breaks the instagram rule then their is more opportunities to get prohibited. Instagram limits the reports per unit time, apparatus will auto quit revealing later arrived at limit at very nearly 40 reports. Shows "Detailed Succesfully" later Each Request. You can Report target again later some time (later 2-3 min). Use IP of same district for high effecivity. In the event that you enter invalid username it will in any case send report demand. Assuming that you getting mistake on utilizing intermediaries then, at that point, don't. Requirements Python3 Or Above  Need to install git in linux or termux Download GIT Usage Instagram mass reporter [ TERMUX ]  How to delete Instagram Account by mrwn007 Report tool Termux   [ TERMUX ]

How to Install Java (Open-JDK-8) in Termux | two Methods

How to Install Java (Open-JDK-8) in Termux Method 1: Java 8 Installation Introduction Install Java (Open-JDK-8) in Termux without rooting your Android device. Follow these steps to get Java up and running in your Termux environment. Step-by-Step Guide Step 1: Install Kali Linux in Termux (Optional) pkg install wget proot -y && wget https://raw.githubusercontent.com/MasterDevX/KaliTermux/master/InstallKali.sh && bash InstallKali.sh Step 2: Download OpenJDK-8-JRE Deb Package Visit ftp.debian and copy the link to the OpenJDK-8-JRE deb package. Step 3: Download Deb Package in Kali Machine wget http://ftp.debian.org/debian/pool/main/o/openjdk-8/openjdk-8-jre-headless_8u275-b01-1_arm64.deb Step 4: Install Deb Package Manually dpkg -i openjdk-8-jre-headless_8u275-b01-1_arm64.deb Step 5: Change Java Version (Optional) sudo update-alternatives --config java Final Step: Verify Java Version Select the desired Java version (in this case, Java 8) by typ...

How to delete Instagram Account by mrwn007 Report tool Termux

How to delete Instagram Account by mrwn007 Report tool Termux(Android) 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. mrwn007 / 007spam-BOT Check out new updated repository Instagram mass reporter [ TERMUX ] Instagram Reporting 2 [ TERMUX ] Instagram delete new method by crevils [Termux] Why this tool not working:( Because this tool author removed all files and reposiory also just because this tool no working @__@ Installation  pkg install git pkg install python git clone https://github.com/mrwn007/007spam-BOT.git cd 007spam-BOT python3 -m pip install requests python3 bot.py this repo is dead for normal users to report in Ins...

🚀 The 2024 Java Developer Roadmap [UPDATED] 🚀

🚀 The 2024 Java Developer Roadmap [UPDATED] 🚀 Hello aspiring Java developers! 🌟 Welcome to the 2023 Java Developer Roadmap, a comprehensive guide designed to help you navigate your journey towards becoming a proficient Java professional. Whether you're just starting or looking to level up your Java skills, this roadmap will provide you with a clear path to success in the Java ecosystem. 🎉 Introduction Java, as a robust and versatile programming language, continues to be a leading choice for building enterprise-level applications, web services, mobile apps, and more. As we step into 2023, the Java landscape evolves, presenting exciting opportunities for developers like you. This updated Java Developer Roadmap encompasses years of expertise and industry insights to outline the key skills, tools, frameworks, libraries, and APIs that you should master to excel as a Java developer in 2023. 🔍 The Essentials Before diving into Java-specific to...