Skip to main content

termux commands list | Basic and Usefull commands

Termux commands list Basic and Useful TERMUX Basiccommands




This article is just for Instructive Purposes.
https://jarvisstaraq.blogspot.com/2021/12/termux-commands-list-basic-and-usefull.html

https://jarvisstaraq.blogspot.com/2021/12/how-to-install-instagram-reporting-2.html

https://jarvisstaraq.blogspot.com/2021/12/how-to-install-java-9-in-termux-by.html
TERMUX Basic
https://jarvisstaraq.blogspot.com/2021/12/how-to-install-java-8-in-termux-by.html
Hi Geeks,
I chose to post with regards to Termux in light of the fact that its an extremely fascinating apparatus that empowers you to remove the most from your Android Cell phones.

You don't should be a Specialized nerd as its extremely easy to utilize in the event that you have some fundamental information on Instructive Innovation and a portion of its ideas.

So lets start

Peruse THE FULL ARTICLE !!

You might deal with an issue while doing the Set-Up ! Peruse every single step completely any other way you will not have the option to comprehend.

    WHAT IS TERMUX ?

    Termux is a Powerful Android application which is Designed to Install Linux bundles on your Android Mobile
    With this Termux App You Can Install shell, python, c, c++, perl, ruby, java and a lot more valuable bundles and with the assistance of Termux we can utilize a few Hacking Tools/scripts in our portable including Nmap, Hydra, Sqlmap and so forth
    =>>> TERMUX is just accessible for Android. Assuming you wish to involve that for PC, then, at that point, you can introduce an Android Emulator on your PC. Right now, IOS doesn't uphold Termux. Be that as it may, you might utilize other applications.
     
    =>>> Some Popular Android Emulators <<<=
    Blue Stacks
    NoxPlayer
    MEmu
    LDPlayer

    Getting Started with Termux-:

        Go to Google  and search for the app named TERMUX.
        Download the App and wait for the installation to complete.
        Once, you are done with this, open TERMUX.

    Download Links-:

    F-DROID :=> Click here

    BASIC COMMAMDS IN TERMUX -:

    --- cd commands---

    What is cd ?

    cd means change the directory and cd used for change the directory of terminal.
    There are six Commands of cd
     
    1. cd (change directory)
    2. cd - (Move one directory back from where you are now)
    3. cd ~ (Move to users have directory from anywhere)
    4. cd .. (Change current directory to parent directory)
    5. cd -- (Show last working directory from where we moved)
    6. cd / (Change to root directory)
     

    ---ls Commands---

    What is ls ?

    ls list all current folders and directories
    There are 12 commands of ls see what they are-:
     
     ls (list current directory /list folder contents)
    ls -l (To show file or directory, size, modified date and time, owner of file, permission)
     ls -a (List all files including hidden files )ls -lh (It show size in human readable format)
     ls -F (Used to add the '/' character at the each directory)
     ls -r (Used to display files , directories in reverse order)
    ls -ltr (Used to show latest modified directory or file date)
    ls -n (to display UID and GID directories)
     ls -i (Display number of file or directory)
     ls -R (Show recursively list of sub directories)
    11. ls -al (Formatted listing with hidden files)
     ls --version (To check the version of ls command)
     
    ***** cp commands ****

    What is cp ?

    cp means copy, cp used for copy any type of files folders.
    The following commands shows different types of cp commands. There are 6 commands of copy
     
    1. cp (used to copy any files, folders)
    2. cp -f (Force copy by removing the destination files)
    3.cp -v (Used to print informative message)
    4. cp -u (Used to copy when source is newer than dest)
    5. cp -R (Used to copy any directory "including hidden files")
    6. cp -n (No file overwrite)

    ---mv command---

    What is mv ? mv means move and it’s used for move files and folders
    There are six commands of mv
     
    1. mv[Filename] (Used to move any files, folders)
    2. mv -f (Force move by overwriting destination files without promote)
    3. mv -v (To move any directory, folders)
    4. mv -u (Update -move when source is newer than destination)
    5. mv -i (Interactive prompt before overwrite)
    6. mv [File1][New File2] (Used to move or rename file one to file 2)
    **** unistall commands ****
     

    What is rm ?

    rm means remove and it’s used for remove or delete files.
    There are 5 commands of rm
    1. rm (To remove or delete files)
    2. rmdir [Dir name] (To remove any directory)
    3. rm -rf (used to force remove a directory)
    4. rm -r[Name] (Delete a directory called name)
    5. apt remove [Package name] (Used to remove package)
    **** package installation ****
     

    What is apt ?

    apt is a commandline package manager and provides commands for searching and managing as well as querying information about packages. It provides the same functionality as the specialized APT tools.
    1. apt update (Used to update list of packages)
    2. apt upgrade (To upgrade list of packages)
    3. apt install <package> or pkg install <package> (to install packages)
     

    ---file permission commands---

    What is chmod ? chmod is used to change file permission to make file in executable mode)
    There are 5 commands of chmod
    1. chmod +x [File name] (Used to give permission{Make executable} to a file or script like .py .sh .rb )
    2. chmod +x * (Set file permission to all files)
    3.chmod 771 [File name] (Set file permission)
    4. chmod 777 [File name] (Give executable permission to a file)
    5. chmod 777* (Give executable permission to all files)
     

    ---Installation of Tools---

    git clone [url] (To install tools or script for github)
    wget [url] (To install tools or script from any other website)
    curl [url] (To install tool or script for termux)
    **** Basic Network Commands****
    ifconfig (Shows configuration a network interface for check your local IP, mac address or display the current network interface information)

        SETTING-UP OF TERMUX FOR USE -:


        Caution: Do not use || while writing commands as we have used this for your better understanding only.

    =>>>  Type ls not 1s.

        =>>> Copy the Commands thoroughly. If you commit an error, then you will not be able to complete your basic set-up Installation.

        UPDATING -:

    pkg update && pkg upgrade
    apt update && apt upgarde

        INSTALLING GIT PACKAGES-:
    apt install git

        INSTALLING PYTHON PACKAGES-:
     
    apt install python
     apt install python2 
    apt install python3

    • GIVING TERMUX ACCESS TO STORAGE-:

    Follow the given Steps-:
    Type,
    termux-setup-storage

    A Dialog box appears. Click on ALLOW to complete the process.
    Now type,
     cd storage
    Then type,
     ls

    Now you can see your storage folders.
    Congrats !! You have successfully completed the setting up of your Termux.

    Popular posts from this blog

    My IP Address - How to check IP address in Termux

    My IP Address - How to check IP address in Termux Here are the steps to check the IP address in various operating systems: Termux (Android): Open the Termux app. Type "ipconfig" and press Enter. Look for "inet" followed by an IP address under the network adapter you are currently using to connect to the internet. Windows: Open the Start menu and type "Command Prompt" in the search bar. Open the Command Prompt and type "ipconfig" and press Enter. Look for "IPv4 Address" or "IPv6 Address" under the network adapter you are currently using to connect to the internet. Android: Open the Settings app. Scroll down and tap on "About phone" or " About device ". Tap on " Status ". Look for "IP address" or " Wi-Fi IP address " under the network section. macOS: Click on the Apple menu in the top-left corner of the screen and select "System Preferences". Click on "N...

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

    How to Install Java (OpenJDK 8) in Termux Method 1: Java 8 Installation Introduction This method explains how to install Java (OpenJDK 8) in Termux without rooting your Android device. 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 the Debian FTP repository and copy the link to the OpenJDK 8 JRE package. ftp.debian Step 3: Download the Deb Package in Kali wget http://ftp.debian.org/debian/pool/main/o/openjdk-8/openjdk-8-jre-headless_8u275-b01-1_arm64.deb Step 4: Install the 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 (Java 8) by entering the corresponding number when pr...

    How to delete Instagram Account by mrwn007 Report tool Termux

    How to Delete an Instagram Account Using a Report Tool This post discusses an old Instagram reporting tool that was previously shared by mrwn007 and used through Termux on Android. The tool is no longer functional, but this guide also explains why and provides information on proper reporting methods. Termux (Android) What Is Termux? Termux is an Android terminal emulator and Linux environment app that works without root access. It installs a minimal Linux base system automatically, and additional packages can be installed using the APT package manager. mrwn007 / 007spam-BOT Previously, mrwn007 maintained a repository called 007spam-BOT , which claimed to mass-report Instagram accounts using Termux. Related repositories that once existed: Instagram Mass Reporter (Termux) Instagram Reporting Tool v2 (Termux) Instagram Delete Method (by Crevils) Current status: All of these repositories are no longer available. Why the Tool No Longer Works Th...

    How to Use IlayTamvan Report Tool to Delete Your Facebook Account in Termux

    Delete Facebook Account Using IlayTamvan Report Tool in Termux Install Termux: Download and install the Termux app from the Google Play Store. Open Termux: Launch the Termux app on your Android device. Update and upgrade Termux packages: Type the following command in the Termux terminal and press Enter: apt update && apt upgrade Install required dependencies: Install Python 2 by entering the following command and pressing Enter: apt install python2 Install Git by entering the following command and pressing Enter: apt install git Clone the IlayTamvan Report tool repository: Enter the following command to clone the repository and press Enter: git clone https://github.com/rajbhx/Report.git Navigate to the Report tool directory: Change to the Report directory by entering the following command and pressing Enter: ...

    Cloudflared in Termux to Create tunnels, Port Forwding

    Installing Cloudflared in Termux for Android (ngrok Alternative) – 2026 Updated Repository Link https://github.com/rajbhx/cloudflared-termux What Is Cloudflare? Cloudflare, Inc. is an American content delivery network (CDN) and DDoS protection company founded in 2010. It works as a reverse proxy between visitors and the hosting provider, improving security, performance, and reliability. Basic Usage Once installed, Cloudflared can expose a local service to the internet. cloudflared -url localhost:PORT Example: cloudflared -url localhost:8000 Alternative command: cloudflared tunnel localhost:PORT Installation Make sure your Termux app is fully updated before proceeding. Installation Commands Follow the steps below to install Cloudflared using the rajbhx/cloudflared-termux script. 1. Update Termux and install Git pkg update && pkg upgrade pkg install git 2. Clone the Cloudflared Termux repository git ...

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

    Install and Set Up Alpine Term on Android Alpine Term allows you to run a lightweight Linux environment directly on your Android device. This guide explains what Alpine Term is, its requirements, and how to install and use it. What Is Alpine Term? Alpine Term is a terminal and Linux environment app for Android. It runs Alpine Linux inside a headless x86_64 virtual machine powered by QEMU. Interaction with the system happens through terminal sessions connected to the virtual machine’s serial consoles. This setup makes it possible to run Linux commands, scripts, and tools on Android without rooting the device. System Requirements Before installing Alpine Term, ensure your device meets the following requirements: AArch64-based Android device Android 7.0 or higher At least 500 MB of free internal storage Internet connection (for installing or updating packages) Steps to Install Alpine Term Open the Google Play Store on your Android device Search ...

    🚀 The 2026 Java Developer Roadmap [UPDATED] 🚀

    Welcome to the 2026 Java Developer Roadmap. This guide is meant to help you understand the skills and tools that matter if you want to grow as a Java developer. Whether you are a beginner or already working with Java, the focus here is on practical learning. Java continues to be widely used for enterprise systems, backend services, and large-scale applications. While frameworks and tools change, strong fundamentals remain important. Introduction As we move into 2026, Java development is not only about writing code. Developers are expected to understand performance, tooling, and how applications behave in real environments. This roadmap outlines the core skills, tools, and concepts commonly expected from Java developers today. The Essentials Before learning frameworks or advanced topics, every Java developer needs a solid foundation. Version Control (Git & GitHub) Learn how to manage code changes, work with branches, and collaborate with teams using Git and GitH...

    The Ultimate Guide to Fixing the libssl.so.1.1 Error in Termux

    How to Fix libssl.so.1.1 Error in Termux libssl.so.1.1 not found | cannot link executable (Termux) Introduction If you use Termux, you may run into an error similar to: cannot link executable: libssl.so.1.1 not found This usually happens after repository or OpenSSL changes. While the error looks serious, it can be fixed reliably by resetting the Termux environment and switching to a stable mirror. Warning Read carefully before continuing. The steps below will completely remove everything inside $PREFIX , including: All installed packages Third-party repositories Custom modifications inside $PREFIX Your $HOME directory will not be affected. Only proceed if you understand and accept this. Step 1: Remove the Current Termux Prefix Open a failsafe Termux session and run: rm -rf $PREFIX Step 2: Reopen Termux Close Termux completely and open it again. Termux will automatically reinstall the bootstrap environment. ...

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

    [No Root] Setup/install ADB in Termux | Unoffical Method

    [Updated] Installing ADB in Termux Without Root | rajbhx Install ADB & Fastboot tools in Termux without root. Supported architectures: ARM / ARM64 only Check your architecture using: uname -a Wireless ADB Setup (Android 11+) Install ADB tools: pkg install android-tools Open Settings → Developer Options → Wireless Debugging Tap Pair device and keep the screen open In Termux, run: adb pair IP:PORT Enter the pairing code shown on screen Connect using the displayed IP and port ADB Wireless is now enabled. Install ADB in Termux Silent Installation apt update > /dev/null 2>&1 && \ apt --assume-yes install wget > /dev/null 2>&1 && \ wget -q https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh && \ bash InstallTools.sh Standard Installation apt update && \ apt install wget && \ wget https://github.com/MasterDevX/Termux-ADB/raw...