Showing posts with label Command Line. Show all posts
Showing posts with label Command Line. Show all posts

Monday, August 17, 2026

Ethical Hacking for Beginners in 2026: Complete Guide to Cybersecurity

Ethical Hacking for Beginners in 2026: Complete Guide to Cybersecurity

Ethical hacking is the practice of testing computer systems, applications and networks with permission to identify security weaknesses before malicious attackers can exploit them.

With cyber threats becoming increasingly sophisticated, ethical hacking and cybersecurity skills are valuable for students, IT professionals, developers, system administrators and security enthusiasts.

This beginner-friendly guide explains what ethical hacking is, how ethical hackers work, what skills you need, which tools are commonly used, how to build a legal cybersecurity lab and how to start learning ethical hacking in 2026.

Important: Only test systems, networks, accounts and applications when you have explicit authorization. Never use security tools against systems you do not own or have permission to assess.

Table of Contents

What Is Ethical Hacking?

Ethical hacking is an authorized security assessment in which a security professional attempts to identify weaknesses in a system so they can be fixed.

An ethical hacker may examine:

  • Web applications
  • Mobile applications
  • Networks
  • Cloud environments
  • Servers
  • Authentication systems
  • APIs
  • Devices
  • Security configurations

The most important difference between ethical hacking and malicious hacking is authorization and intent.

What Makes Hacking Ethical?

Ethical hacking requires more than technical knowledge. A security test should have clearly defined boundaries.

1. Permission

You must have permission from the owner of the system before performing security testing.

2. Scope

The authorized scope should clearly identify what systems, applications, domains or environments can be tested.

3. Rules of engagement

Professional security assessments normally define testing procedures, timing, restrictions and communication requirements.

4. Responsible reporting

Security weaknesses should be documented and reported to the appropriate owner so they can be fixed.

Types of Ethical Hacking

Web Application Security

Web application security focuses on identifying weaknesses in websites and web applications.

Common areas include authentication, authorization, input validation, session management and security configuration.

Network Security

Network security assessments examine network architecture, exposed services, segmentation and configuration.

Mobile Security

Mobile application security examines Android and iOS applications for weaknesses in application logic, data storage, authentication and communication.

Cloud Security

Cloud security assessments examine configurations, identity management, access controls and exposed resources in cloud environments.

API Security

Modern applications frequently depend on APIs. API security testing focuses on authentication, authorization, input handling, data exposure and configuration.

Wireless Security

Wireless security focuses on authorized testing of Wi-Fi networks and wireless infrastructure.

Skills You Need to Learn Ethical Hacking

You don't need to know everything before starting. Build your skills progressively.

1. Computer Fundamentals

Understand operating systems, files, processes, permissions, applications and basic system administration.

2. Networking

Learn concepts such as:

  • IP addresses
  • TCP and UDP
  • DNS
  • HTTP and HTTPS
  • Ports
  • Routing
  • Firewalls
  • VPNs
  • Network protocols

3. Linux

Linux is widely used in cybersecurity. Learn the terminal, filesystem, permissions, processes, package management and basic shell scripting.

4. Programming

You don't need to become a professional software engineer, but programming knowledge is extremely useful.

Good languages to learn include:

  • Python
  • JavaScript
  • Bash
  • SQL

5. Web Technologies

Understanding HTML, CSS, JavaScript, HTTP requests, cookies, sessions and APIs will make web-security concepts much easier to understand.

Linux for Ethical Hacking

Linux is an important part of many cybersecurity workflows.

Beginners should first learn a normal Linux distribution rather than immediately focusing on specialized security distributions.

Important topics include:

  • Terminal commands
  • File permissions
  • Users and groups
  • Processes
  • Networking commands
  • Package management
  • Shell scripting
  • SSH

Once you understand Linux fundamentals, security-focused environments become much easier to use.

Networking Basics for Ethical Hackers

Networking knowledge is one of the most important foundations of cybersecurity.

IP Address

An IP address identifies a network interface or host within a network.

Port

Ports allow network services to communicate through a host's networking stack.

DNS

The Domain Name System translates domain names into network addresses and provides other types of DNS information.

HTTP and HTTPS

HTTP is a major protocol used by websites and web applications. HTTPS adds encryption through TLS.

Firewall

A firewall controls network traffic according to defined rules.

Web Application Security

Web applications are an important area of cybersecurity because they process user data and frequently connect to databases, APIs and external services.

Security professionals commonly study topics such as:

  • Authentication
  • Authorization
  • Session management
  • Input validation
  • Access control
  • Cryptography
  • Security headers
  • API security
  • File-upload security
  • Configuration security

OWASP

The Open Worldwide Application Security Project (OWASP) is an important resource for learning about application security.

The OWASP Top 10 is widely used as an educational reference for understanding common web-application security risks.

Common Ethical Hacking Tools

Security professionals use many different tools depending on the type of assessment.

Wireshark

Wireshark is a network protocol analyzer that can help security professionals understand network traffic in authorized environments.

Use: Network analysis and troubleshooting.

Nmap

Nmap is a network discovery and security-auditing tool commonly used to understand hosts and services within authorized environments.

Use: Network discovery and auditing.

Burp Suite

Burp Suite is widely used for testing web applications and understanding HTTP requests and responses.

Use: Authorized web application security testing.

OWASP ZAP

OWASP ZAP is an open-source web application security testing tool.

Use: Web application security education and authorized testing.

Metasploit Framework

Metasploit is a security testing framework used by professionals and researchers in controlled environments.

Use: Security research and authorized penetration testing.

John the Ripper

John the Ripper is a password-security auditing tool that can be used in authorized environments to assess password strength.

Use: Password auditing.

Hashcat

Hashcat is a password-recovery and security-auditing tool commonly used for authorized password testing.

Use: Password security assessment.

How to Build a Legal Ethical Hacking Lab

One of the safest ways to learn cybersecurity is to create your own isolated practice environment.

Option 1: Virtual Machines

You can use virtualization software to create separate virtual machines for security testing and intentionally vulnerable applications.

Option 2: Local Practice Applications

Security-learning projects such as intentionally vulnerable web applications provide controlled environments for practicing defensive and testing concepts.

Option 3: Cybersecurity Training Platforms

Dedicated cybersecurity training platforms provide legal environments designed specifically for security education.

Basic Lab Structure

Your Computer
     |
     +-- Virtual Machine
     |      |
     |      +-- Linux
     |
     +-- Practice Application
     |
     +-- Security Testing Tools

Keep your practice environment isolated from systems that you do not own or have permission to test.

How to Learn Ethical Hacking in 2026

If you are starting from zero, don't begin by memorizing hundreds of commands.

Follow a structured path.

Step 1 — Computer Fundamentals

Learn operating systems, files, permissions and basic troubleshooting.

Step 2 — Networking

Learn IP addressing, DNS, HTTP, ports, protocols, routing and firewalls.

Step 3 — Linux

Learn the Linux terminal and basic system administration.

Step 4 — Programming

Start with Python and learn enough JavaScript, SQL and Bash to understand common application workflows.

Step 5 — Web Security

Learn authentication, authorization, sessions, input validation and secure application development.

Step 6 — Practice

Use intentionally vulnerable applications, CTFs and authorized training laboratories.

Step 7 — Build Projects

Create your own security lab, document what you learn and build defensive projects.

Step 8 — Learn Reporting

A professional security assessment isn't just about finding vulnerabilities. You must be able to explain the issue, its impact and how it can be fixed.

Cybersecurity Certifications

Certifications can help demonstrate structured knowledge, particularly when applying for cybersecurity positions.

Depending on your experience, you may encounter certifications such as:

  • CompTIA Security+
  • Certified Ethical Hacker (CEH)
  • eJPT
  • OSCP
  • CISSP

Don't choose a certification simply because it sounds advanced. Select one that matches your current skill level and career goal.

Ethical Hacking Career Options

Ethical hacking knowledge can lead into several cybersecurity career paths.

  • Security Analyst
  • Penetration Tester
  • Application Security Engineer
  • Security Engineer
  • Cloud Security Specialist
  • Vulnerability Analyst
  • Security Consultant
  • Incident Response Analyst
  • Security Researcher

Ethical Hacking vs Cybersecurity

Ethical Hacking Cybersecurity
Focuses heavily on finding weaknesses Covers the broader protection of systems and information
Often involves authorized security testing Includes prevention, detection, response and recovery
Can involve penetration testing Includes many security disciplines

Common Beginner Mistakes

1. Testing random websites

Never scan or attack websites simply because you found them online.

2. Learning tools without fundamentals

Understanding networking and operating systems is more valuable than memorizing tool commands.

3. Using downloaded attack scripts blindly

Understand what code does before executing it, particularly when running security tools.

4. Ignoring documentation

Professional security work requires reading documentation and understanding how systems work.

5. Focusing only on exploitation

Good security professionals understand prevention, secure configuration, monitoring and remediation as well.

Important Legal Rules

Cybersecurity tools can be used for legitimate security research, but authorization matters.

Before testing a system, make sure you understand:

  • Who owns the system
  • Whether you have permission
  • What systems are in scope
  • What activities are permitted
  • What activities are prohibited
  • How findings should be reported

Bug-bounty programs can provide legal testing opportunities, but researchers must follow the specific program's scope and rules.

Best Free Way to Start Ethical Hacking

You don't need an expensive setup to begin.

A beginner can start with:

  • A computer
  • Linux fundamentals
  • Networking fundamentals
  • Python basics
  • Web-development basics
  • Free cybersecurity learning resources
  • An isolated virtual lab
  • Legal CTF or training environments

The most important investment is consistent learning rather than expensive hardware.

Final Verdict

Ethical hacking in 2026 is much more than running security tools. A strong ethical hacker understands operating systems, networks, applications, programming, security principles and responsible vulnerability disclosure.

If you're a beginner, build your foundations first. Learn Linux and networking, understand how websites work, practice inside legal laboratories and gradually move toward advanced security testing.

Most importantly, always obtain authorization before testing a real system.

Explore More Cybersecurity Guides

Explore more cybersecurity tools, privacy guides, Termux tutorials, Linux resources, programming tutorials and ethical hacking resources on HACKER WORLD.

Frequently Asked Questions

What is ethical hacking?

Ethical hacking is authorized security testing performed to identify weaknesses so they can be fixed before malicious attackers exploit them.

Can beginners learn ethical hacking?

Yes. Beginners can start with computer fundamentals, networking, Linux, programming and web technologies before progressing to security testing.

Is ethical hacking legal?

Authorized ethical hacking is a legitimate security activity. Testing systems without permission can have serious legal and security consequences.

Which programming language is best for ethical hacking?

Python is a useful starting language, while JavaScript, SQL and Bash are also valuable for understanding web applications and security workflows.

Which Linux distribution should beginners use?

Beginners can start by learning a mainstream Linux distribution and its fundamentals. Security-focused distributions can be explored later once Linux basics are understood.

What are the best ethical hacking tools?

Common security tools include Wireshark, Nmap, Burp Suite, OWASP ZAP and Metasploit, but tools should only be used in authorized environments.

Can I practice ethical hacking for free?

Yes. You can use free learning resources, intentionally vulnerable applications, CTFs and controlled virtual environments to develop cybersecurity skills.

Tuesday, September 24, 2024

How to Increase Instagram Followers Using Inshackle-Bot on Termux

Increase Instagram Followers Using Inshackle-Bot on Termux

How to Increase Instagram Followers Using Inshackle-Bot on Termux

Instagram is one of the most powerful social media platforms for building a personal brand, promoting businesses, and reaching a wide audience. For many, gaining a significant number of followers is a top priority. While organic growth is ideal, it can be slow and requires constant engagement. If you’re looking to speed up this process, you might want to explore automation tools like Inshackle-Bot.

In this blog, I will guide you through using Inshackle-Bot within the Termux environment to increase Instagram followers quickly and efficiently. This method involves using a bot to automate activities such as following, liking, and more, which can give your Instagram profile a rapid boost in followers.

What is Inshackle-Bot?

Inshackle-Bot is a tool that automates certain activities on Instagram, like following users, liking posts, and increasing engagement. By using this bot in the Termux app on your Android device, you can quickly grow your followers and engagement levels. However, use it responsibly, as excessive use of bots can violate Instagram’s terms of service and may result in your account being suspended or penalized.

How to Install and Use Inshackle-Bot

Below is a step-by-step guide to installing and running Inshackle-Bot in the Termux environment:

Step 1: Update Your Termux Package List

First, ensure that your Termux environment is up-to-date. Open the Termux app and run the following command to update your package list:

pkg up -y

Step 2: Install Required Tools

Next, you’ll need to install the necessary tools to run Inshackle-Bot:

  • OpenSSL Tool – For SSL and TLS protocols:
  • pkg install openssl-tool
  • Curl – For transferring data with URLs:
  • pkg install curl
  • Git – To clone the Inshackle-Bot repository:
  • pkg install git

Step 3: Clone the Inshackle-Bot Repository

After installing the required tools, you can download the bot by cloning the Inshackle-Bot repository from GitHub:

git clone https://github.com/cyberkallan/inshackle-bot

Step 4: Navigate to the Inshackle-Bot Directory

Once the repository has been cloned, navigate to the inshackle-bot directory:

cd inshackle-bot

Step 5: Make the Files Executable

Before running the bot, you need to grant executable permissions to the script files. Use the following command to make all the files in the directory executable:

chmod +x *

Step 6: Run Inshackle-Bot

Finally, to start the bot, run the main script:

bash inshackle.sh

Follow the prompts on the screen to configure and run the bot for your Instagram account.

Important Tips for Using Inshackle-Bot Safely

While bots like Inshackle-Bot can be helpful in growing your follower count quickly, be cautious about overusing such tools. Here are a few tips to keep in mind:

  • Test on a secondary account: Before running the bot on your main Instagram profile, try it on a secondary or test account to see how it works and if you encounter any issues.
  • Don’t overuse: Avoid running the bot excessively. Instagram monitors unusual behavior, and overuse of bots could result in a shadowban or account suspension.
  • Follow Instagram's terms of service: Make sure that any automation you use doesn’t violate Instagram’s community guidelines or terms of service.

Conclusion

Inshackle-Bot offers a convenient way to increase your Instagram followers quickly using the Termux app. By following the steps outlined above, you can set up and run the bot on your Android device. However, it's essential to combine this method with organic growth strategies such as posting quality content, engaging with your followers, and using appropriate hashtags for long-term success.

Disclaimer: This blog is for educational purposes only. Use automation tools like Inshackle-Bot at your own risk, as they may violate Instagram's terms of service.

For more hacks, mods, and growth tips, keep following us at HackerWapModApp.

© 2024 HackerWapModApp

Friday, August 9, 2024

How to Create Matic mining ⛏️ bit in termux

How to Create an Automatic Matic (Polygon) Cryptocurrency Miner Using Termux

Crypto Mining Guide

How to Create an Automatic Matic (Polygon) Cryptocurrency Miner Using Termux

In this guide, we'll walk you through the steps to create an automatic Matic (Polygon) cryptocurrency miner using Termux. Follow these steps to set up your environment, clone a suitable repository, customize the mining script, and run it continuously.

Step 1: Set Up Your Environment in Termux

First, install the required software:

pkg update
pkg upgrade
pkg install git nodejs python

Ensure you have a Matic wallet address ready. For this guide, we'll use: 0x6518e02a8b240dd1a421118d21841eeeb0674211.

Step 2: Clone a Suitable Repository

Clone the repository for the mining script:

git clone https://github.com/RainbowMiner/RainbowMiner.git
cd RainbowMiner

Step 3: Customize the Mining Script

Open the mining script using a text editor like nano:

nano miner.js

Modify the script to use your wallet address:

const fs = require('fs');
const walletAddress = '0x6518e02a8b240dd1a421118d21841eeeb0674211';

// Function to simulate mining
function mineMatic() {
    let miningData = 'Mining data...'; // Replace with actual mining logic
    fs.appendFileSync('miningData.txt', `${new Date().toISOString()} - ${miningData}\n`);
    console.log(`Mined Matic sent to ${walletAddress}`);
}

// Function to run mining continuously
function startMining() {
    setInterval(mineMatic, 60000); // Run mining every 60 seconds
}

// Start mining
startMining();

Step 4: Install Dependencies

Install the required packages:

npm install

Step 5: Run the Miner

Save the script and run it:

node miner.js

Step 6: Check Mining Data

To check your mining data, view the miningData.txt file:

cat miningData.txt

You can also check your wallet balance on a blockchain explorer like PolygonScan.

Stopping the Mining Process

To stop the mining process, you can use Ctrl + C or the kill command:

ps aux | grep node
kill 

Or, to stop all Node.js processes:

pkill node

This guide should help you set up and run an automatic Matic (Polygon) cryptocurrency miner using Termux. Happy mining! 🚀

Wednesday, August 7, 2024

Create Termux Bot which helps to create shorts and reels from YouTube video

Convert YouTube Videos to 30-Second Reels in Termux

Convert YouTube Videos to 30-Second Reels in Termux

Follow these steps to create a bot in Termux that converts YouTube videos into multiple 30-second reels.

Step 1: Set Up Termux

Ensure you have Termux installed on your Android device. Then, update and upgrade the packages:

pkg update && pkg upgrade

Step 2: Install Required Packages

Install the necessary packages: youtube-dl, ffmpeg, and python.

pkg install python ffmpeg
pip install youtube-dl imageio[ffmpeg]

Step 3: Create the Python Script

Create a Python script to download the video, split it into 30-second parts, and save them.

Create a file named yt_reels.py:

nano yt_reels.py

Step 4: Write the Script

Copy and paste the following code into yt_reels.py:

import os
import sys
import youtube_dl
import imageio_ffmpeg as ffmpeg
import math
import subprocess

def download_video(url, output_path):
    ydl_opts = {
        'format': 'best',
        'outtmpl': output_path
    }
    with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        ydl.download([url])

def get_video_duration(input_path):
    result = subprocess.run(
        ['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', input_path],
        stdout=subprocess.PIPE,
        stderr=subprocess.STDOUT
    )
    return float(result.stdout)

def split_video(input_path, output_folder, segment_duration=30):
    duration = get_video_duration(input_path)
    num_segments = math.ceil(duration / segment_duration)

    for i in range(num_segments):
        start_time = i * segment_duration
        output_path = os.path.join(output_folder, f"short_video_{i+1}.mp4")
        subprocess.run(
            ['ffmpeg', '-ss', str(start_time), '-i', input_path, '-t', str(segment_duration), '-c', 'copy', output_path]
        )
        print(f"Saved {output_path}")

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("Usage: python yt_reels.py ")
        sys.exit(1)

    url = sys.argv[1]
    input_video = "downloaded_video.mp4"
    output_folder = "reels"

    if not os.path.exists(output_folder):
        os.makedirs(output_folder)

    print("Downloading video...")
    download_video(url, input_video)
    print("Splitting video into 30-second reels...")
    split_video(input_video, output_folder)
    print(f"All reels saved in {output_folder}")

Step 5: Run the Script

To run the script, use the following command:

python yt_reels.py <YouTube URL>

Replace <YouTube URL> with the actual URL of the YouTube video you want to convert.

Explanation

Download Video: The script downloads the video from YouTube using youtube-dl.

Get Video Duration: It uses ffprobe to get the total duration of the video.

Split Video: It splits the video into multiple 30-second parts using ffmpeg and saves them in the reels folder.

Additional Features

You can further enhance the script to:

  • Handle errors and edge cases more robustly.
  • Allow custom segment durations.
  • Automate file management (e.g., organize output videos into subfolders).

Ensure you have enough storage space and necessary permissions to read/write files in Termux.

Friday, November 27, 2020

Termux Package Management: How to Install, Remove & Update Packages

 Termux uses apt and dpkg for package management, similar to Ubuntu or Debian.

Working with packages

Installing packages from APT repository

In Termux it is recommended to use package manager pkg which is a wrapper for apt. It simplifies installing or upgrading packages by automatically updating apt lists so you don't have to type apt update when installing or upgrading packages.


Install package:

pkg install [package name]


Remove package:

pkg uninstall [package name]


List all packages:

pkg list-all


Upgrading packages:

pkg upgrade

Important: before installing anything, ensure that all packages are up-to-date. Additionally, we suggesting to check for updates at least once a week. We use rolling-release updates style and do not care about compatibility of more than between current and previous versions. If you have not upgraded your Termux installation for long time and now experience errors when running package manager, the easiest way to fix will be complete reinstallation.


For more information about available commands you can either just run pkg without arguments or like this: pkg help.

Manual installation of *.deb files

If you have a *.deb package file, you can install it with dpkg. Note that packages downloaded from Ubuntu or from repositories of other Linux distributions will not work due to incompatible libc ABI, however statically compiled binaries may work.


Installing:

dpkg -i ./package.deb


Uninstalling:

dpkg --remove [package name]


Listing all installed packages:

dpkg -l


Since dpkg has many useful options, you may want to see it's manual via man dpkg.

Official repositories

Some repositories can be enabled by installing packages ending with -repo. The repositories that can be accessed in this way at the time of writing are

RepositoryCommand to subscribe to repository
game-packagespkg install game-repo
science-packagespkg install science-repo
termux-root-packagespkg install root-repo
x11-packages (Android 7+ only)pkg install x11-repo
unstable-packages (Android 7+ only)pkg install unstable-repo

For a repository to be considered official it needs to have build scripts for cross-compilation available for all hosted packages. Packages built on device and thereafter packaged with termux-create-package can therefore not be included in the official repositories.

All the repositories with build scripts in a repo at github.com/termux/ are maintained and signed by someone on the termux team, the keys used for signing are available in the package termux-keyring. For more information about how the repositories are signed, see termux-keyring.

10 Cool & Useful Termux Commands You Should Know in 2026

20 Cool and Fun Termux Commands in 2026 – Secret Commands & Tricks

20 Cool and Fun Termux Commands in 2026 – Secret Commands & Tricks

Last Updated: August 2026

Termux is one of the most interesting Android applications for people who want to experiment with a Linux-style command-line environment directly from their phone.

Unlike the old misconception that Termux is only a "hacking app", Termux can be used for programming, automation, Linux utilities, SSH, Git, system administration, learning and plenty of harmless terminal experiments.

In this updated 2026 guide, we have collected 20 cool, fun and useful Termux commands that you can try on your Android phone.

Important: These commands are primarily for learning, customization and entertainment. They do not magically turn your phone into a hacking device. Always use Termux and networking tools responsibly and only on systems you own or have permission to test.

What Is Termux?

Termux is an Android terminal emulator and Linux environment. It provides a minimal base system and lets users install additional packages through its package manager.

The official Termux project describes it as an Android terminal emulator and Linux environment that works without requiring root access for its basic functionality.

Before Trying These Commands

If you have a fresh Termux installation, update your packages first:

pkg update && pkg upgrade

Some packages may not be installed by default. When a command requires a package, install it using pkg install package-name.

Table of Contents

1. Run a Train in Termux 🚂

One of the classic Linux terminal jokes is the sl command. If you accidentally type sl instead of ls, you can get a little train animation.

pkg install sl

Then run:

sl

It's completely harmless and is one of the most famous terminal Easter eggs.

2. Matrix Effect in Termux 🟢

Want the classic falling-green-character effect from the Matrix-style terminal aesthetic? Try cmatrix.

pkg install cmatrix

Then:

cmatrix

To exit most terminal animations, press Ctrl + C.

The current Termux package ecosystem includes cmatrix as a Matrix-style animation package.

3. Make a Cow Say Anything 🐄

The classic cowsay package displays an ASCII cow with your message.

pkg install cowsay

Now try:

cowsay Hello Termux!

You can replace the message with your own text.

4. Create Giant ASCII Text

figlet converts ordinary text into large ASCII-style letters.

pkg install figlet

Then:

figlet Termux

This is useful for creating a customized terminal welcome screen.

5. Create Colorful Terminal Text 🌈

Another popular ASCII-art utility is toilet.

pkg install toilet

Try:

toilet Termux

You can experiment with the available fonts and filters on your installed version.

6. Fire Animation 🔥

The original version of this article used cacafire to create a terminal fire effect. The command is still a fun terminal experiment when the relevant package is available.

pkg install libcaca

Then try:

cacafire
Note: Package availability can change between Termux repositories and versions. If a package cannot be found, use pkg search package-name to check whether it is available in your configured repository.

7. Display Random Quotes

The fortune command displays random quotes or messages.

pkg install fortune

Then:

fortune

Run it several times and you can get different results.

8. Try the Fish Shell 🐟

Fish is an alternative command-line shell designed to be user-friendly and interactive.

pkg install fish

Start Fish with:

fish

Fish provides features such as autosuggestions and syntax highlighting. It is an alternative shell, not simply an "autocorrect package".

To return to your previous shell, type:

exit

9. Check Weather from Termux 🌦️

You can retrieve weather information using the command-line weather service wttr.in.

curl wttr.in/Ahmedabad

Replace Ahmedabad with your city.

For example:

curl wttr.in/London

10. Browse Websites Using a Text Browser 🌐

Termux can also be used with command-line web browsers. If w3m is available in your configured repository, install it with:

pkg install w3m

Then try:

w3m https://example.com

A text browser does not provide the same experience as Chrome or another graphical browser, but it is a great way to understand command-line browsing.

11. Explore a World Map in the Terminal 🗺️

MapSCII is a fun way to explore a text-based world map from a compatible terminal.

telnet mapscii.me

Because this connects to an external service, availability can change. If it does not work, the service may be offline or inaccessible from your network.

12. Display Date and Time ⏰

You don't need a special package to display the current date and time.

date

This is a simple command, but it demonstrates how Termux can access standard Unix/Linux utilities.

13. Display a Calendar 📅

Try:

cal

If cal isn't available on your installation, you can check available alternatives with your package manager.

14. Check System Information

You can inspect basic Android/Linux environment information with:

uname -a

For a cleaner result, try:

uname -o -r -m

The exact output depends on your Android device and Termux environment.

15. Check Available Storage 💾

The df command can show filesystem space information.

df -h

The -h option makes the sizes easier to read.

16. Check Memory Usage 🧠

You can inspect memory information using:

free -h

This gives you a quick overview of available and used memory in the Termux environment.

17. Create a Directory Tree

If you have the tree package available, you can display folders in a tree format.

pkg install tree

Then:

tree

This is especially useful when learning how Linux directories are organized.

18. Create a Continuous Text Stream

The classic Unix yes command repeatedly outputs text until you stop it.

yes

Stop it with:

Ctrl + C

You can also provide your own text:

yes "Termux"
Be careful: Do not leave this running unnecessarily because continuous output can consume CPU and battery.

19. Connect to a Remote Computer with SSH 🔐

Termux can be used as an SSH client. This is considerably more useful than many of the visual Easter eggs in this list.

For example:

pkg install openssh

Then an SSH connection generally follows this format:

ssh username@server-address

Only connect to computers and servers that you own or have permission to access.

20. Use Python as a Calculator 🐍

Termux is also useful for learning programming. Install Python:

pkg install python

Start Python:

python

Then you can perform calculations such as:

10 * 25

Python is also a starting point for learning automation, scripting and software development on Android.

Bonus: Useful Termux Commands

Here are a few basic commands worth learning:

Command Purpose
ls List files and folders
pwd Show the current directory
cd Change directory
mkdir Create a folder
touch Create an empty file
cp Copy files
mv Move or rename files
rm Remove files
clear Clear the terminal screen
history Show previously entered commands
pkg search Search available packages

Are These Really "Secret" Termux Commands?

Not really. Most of these commands are not secret. They are ordinary Linux utilities, terminal programs or fun Easter eggs that can be installed and used inside Termux.

The word "secret" is commonly used in tutorials because it makes these little-known or fun commands easier to discover, but there is no hidden hacking capability behind them.

Is Termux a Hacking App?

Termux itself is not a hacking application. It is a terminal emulator and Linux environment. It can be used for legitimate cybersecurity education, programming, networking and system administration, but the legality of an activity depends on what you use the tools against.

Stay ethical: Never attempt to access accounts, devices, networks, websites or servers without authorization.

Pros and Cons of Using Termux

Pros

  • Runs a Linux-style terminal environment on Android.
  • Useful for programming and scripting.
  • Supports many open-source packages.
  • Useful for SSH and remote administration.
  • Excellent learning tool for Linux commands.
  • Can automate many tasks directly from an Android phone.

Cons

  • Some Linux software is not available or requires modification.
  • Android restrictions can affect background processes.
  • Some old tutorials contain commands that no longer work.
  • Package availability can change over time.
  • Command-line tools have a learning curve for beginners.

Why Old Termux Tutorials May Not Work in 2026

A major problem with older Termux tutorials is that commands and packages can change. The original version of this article was written around 2020 and included package-size claims and instructions that should not be treated as current specifications.

Termux continues to receive package updates and development work, so users should prefer current package repositories and official documentation instead of blindly copying commands from very old tutorials.

🚀 Looking for Website Monetization?

If you are a blogger or website owner looking for an alternative advertising network, you can check out Adsterra's publisher platform.

Try Adsterra →

This is a referral link. The publisher may receive a referral benefit if you register through it.

Frequently Asked Questions

What are the coolest Termux commands in 2026?

Some popular fun commands include cmatrix, sl, cowsay, figlet, toilet, fortune and cacafire where supported.

Do I need root to use Termux?

No. Termux's basic terminal environment does not require root access. However, certain advanced Android operations may require permissions or additional configuration.

Can Termux be used for programming?

Yes. Termux can provide programming tools and languages such as Python and many other development utilities.

Can I use Termux for cybersecurity learning?

Yes. Termux can be useful for learning Linux, networking, scripting and cybersecurity. Only test systems that you own or have explicit authorization to test.

Why does pkg install fail in Termux?

Possible causes include an outdated installation, repository problems, network issues or a package that is not available in your configured repositories. First try updating your packages and, when appropriate, checking the configured repository.

How do I stop a running Termux command?

For many foreground commands, Ctrl + C interrupts the process.

Conclusion

These 20 Termux commands are a mixture of fun terminal Easter eggs, customization tools, Linux utilities and genuinely useful commands.

The best way to learn Termux is not to memorize hundreds of "secret commands". Instead, start with basic Linux commands, learn how packages work, experiment safely and gradually move toward programming, automation, Git, SSH and Linux administration.

If you enjoyed these commands, bookmark this page because Termux packages and commands continue to evolve.

Have another cool Termux command? Share it in the comments.

Sunday, November 8, 2020

Termux Commands List: 100+ Essential Commands for Beginners in 2026

 Termux is an Android terminal emulator and Linux environment Android app that works directly with root and without root. A Terminal base system is installed automatically – additional packages are available using the APT package manager.

There are Some Basic Command for Termux Emulator. If you already use any Linux system and you know any Linux OS commands you can easily learn these Termux commands.

Termux – Clear Screen

For clear all screen content run the clear command.

clear

Termux – Current Working Directory

This command will tell you, your current working directory.

pwd

Termux – Changing Directory

cd command use for change our current working directory to another directory, type cd and your directory name. I’m moving in /home directory.

cd /home

Termux – Move Back Directory

If you want one directory to move back by using cd .. you can easily back one directory. and you wanna back two directories use the cd ../../ command.

cd ..
cd ../../

Termux – Create New File

by using the touch command we can easily create a file

touch <file-name>

Termux – Create New Directory

Mkdir Stands for creating a new directory. Let’s Type the mkdir command and give a directory and using a space gape and hit the enter button.

mkdir <new-directoy-name>

Termux – Delete Directory

delete any directory by using the command, just type the rmdir <delete directory-name> and press enter and it will be deleted. delete the directory and their contents recursively rm -r < directory-name >

rmdir <directory-name>
rm -r <directory-name>

Termux – Delete File

delete any file type the rm <your-filename> and press enter and it will be deleted within a second.

rm <file-name>

Termux – Rename File and Directory & Move a File

The mv command is a Linux command-line utility that moves files or directories from one place to another. rename filename type the command mv <old-filename> <new-filename>

mv <old-filename> <new-overwirte-filename>
mv -r <currnet-file-location> <your-new-destination-directory>

Termux – Copy File and Directory

copy file source to destination. this is another Linux command-line utility for copy file and directory. if you want to copy a directory you must use cp -r copy directories and their contents recursively.

cp <filename> <new-filename>
cp -r <directory-name> <new-directory-name>

Termux – File Editor nano and VI

Termux has many command-line editors but there have most useful editor vi and nano. if you already have a file run the vi <filename> enter the edit mode by pressing ( i ) after edit the file press the ESC button and type ( :wq ) write and quite. read more about vi editor.

nano is another Termux editor type nano <filename> edit your file and save the file by using ( Ctrl+x ) and type y for yes and again hit enter and your file is saved.

vi <filename>
nano <filename>

Termux – Read File Content cat command

Run the cat command with using extra argument <your-read-file-name> and everything is see in terminal inside the text file.

cat <filename>

Termux – All running background Process Top command

Know all running processes in Termux you can easily see all running processes by using the top command.

top

Termux – Change Permission and Group

you can easily change every file permission and change file ownership group and user. for adding execute permission to run the command. ( chmod +x <file-name> ) if you want to change file ownership run the command ( chown newuser:newgroup <filename>.

chmod (permission-mode) <filename>
chown (newuser:newgroup) <filename>

Termux – Clone Source code from Github

Download new project and cloning project from git hub run the command.

git clone <cloning url>

Termux – Download File wget and curl

If you want to download the file through the terminal. there are many download tools but we are mostly using these tools. wget and curl you can download every file from the internet by using those tools.

wget <download-file-url>
curl <download-file-url> -o <output-filename>

Termux – history All Previous run Command

checking all previous run command.

history

Termux Packages Command

List all installed Packages

The command will display a list of all installed packages including the packages versions.

dpkg --list
Install New Package

installing a new package let’s try one example install python3. run the command < pkg install python3 > and you see a promote type y for yes and your package is install soon. it depends on your internet speed.

pkg install <package-name>
Remove Installed Package

you can uninstall any package from the list, just type pkg remove and <remove-package-name>.it will ask you. if you wanna delete the package press y or not n After type y the package will be removed automatically.

pkg remove <remove-package-name>
Update all packages

update all old installed package

apt update && apt upgrade -y
Update New added Package mirrors

If you add a new repository in your source.list file. before installing a new package you just need run the apt update command.

apt update