How-ToHow to Use the Linux Command Line on Android...

How to Use the Linux Command Line on Android With Termux

-

Last Updated on 15 May, 2026 by Montel Anthony

Android is a powerful operating system because it has a wide range of applications that are nearly as good as those on the desktop. However, it can be difficult to accomplish something on Android that would be a cinch on a desktop computer. Seeย Top 5 Linux Distributions: Discover Your Ideal Fit.

As a first step, you can use Androidโ€™s built-in Linux infrastructure. In order to run Linux apps on your Android device, the Termux app provides a command-line environment. Learn how to use the Termux app by following these simple steps:

Benefits of Using Termux

Termux is a self-contained Linux system. For the most part, its programs are identical to their Linux counterparts in terms of features. Compared to ported applications, this has some benefits:

  • Consistency: There must be some kind of user interface in order for Linux apps that have been ported over to Android to be consistent. The quality of the user experience on Android largely depends on how much effort the developer puts into it. Termux apps, on the other hand, are identical to their Linux counterparts in every way, from keyboard shortcuts to how theyโ€™re installed.
  • Compactness: When Android code is added to a slim application, it can make it heavier. Android SSH clients can be anywhere from 2MB to 12MB large, for example. Termuxโ€™s Dropbear, on the other hand, is just 396KB (thatโ€™s kilobytes) in size when installed. It also comes with an SSH server.
  • Timeless: As long as an Android appโ€™s developer releases an update, youโ€™re at their mercy for an upgrade. There is no need to constantly update Termux applications, which are standard Linux packages. Desktop versions may even be created automatically. Termux is more likely to give you early access to new features.
  • Free: Itโ€™s possible that any app you buy from the Play Store has a fee attached to it. Termux and its apps are both free and open source.

How to Download Termux

Before we dive into the tutorial, you have to get Termux first on your Android device.

Kindly visit Playstore and then Search โ€œTermuxโ€ on the search Box. Or visit link below to Download Immediately.

Download:ย Termuxย (Free)

Basic Termux Commands You Should Know

Linux distros like Debian, Ubuntu, and others use the same package installer as Termux.

When it comes to finding, installing, and removing packages, Advanced Packaging Tools (or APT) is the tool of choice. Use these commands to update and upgrade your software:

apt update
apt upgrade

How to get to know the apps that are available:

apt list

To find out more about one of these packages, use

apt show [package name]

The name, maintainer, file size, dependencies, and other useful information can be found here. To install an app, all you need to do is type in the following command:

apt install [package name]

Termuxโ€™s built-in command list is available on Android:

  • cp

    lets you copy a file

  • mv

    will move a file

  • ls

    lists the contents of a directory

  • rm

    deletes (removes) data

  • ln

    creates a symbolic link (for example,

    ln /data/data/com.termux/files/home/documents to /sdcard/Documents

     

You donโ€™t need an Android file manager if you use these built-in options. Moreover, these apps donโ€™t necessitate that you root your phone in order to use these features.

Termux Command Line Apps for Installing Linux Programs

Installing useful Linux apps on Android can be done with the help of apt and the Termux terminal. This is a wide range, so letโ€™s take a look at a few of the highlights.

Text Editors

Text editors like VIM and Emacs are supported by Termux, which includes the most recent versions. Many other editors are available in addition to minimalist nano.

In addition to being available on desktop platforms, terminal-based editors can meet all of these requirements in a single program.

Termux Command Line Utilities

Many useful Linux command line utilities are included in Termux packages:

  • gnuplot:ย A mathematical graphing program
  • ImageMagick:ย An image manipulation and conversion toolkit
  • p7zip:ย An archiving utility for the 7-Zip compression scheme
  • UnRAR:ย A different archive tool for the RAR format
  • Wget:ย A program to fetch files over the internet via HTTP or FTP

Install Servers in Termux

For Linux web servers, Termux offers Apache, nginx, and lighttpd.

Itโ€™s important to remember that many of todayโ€™s most popular applications are web-based as well as written. Taiga project management platform, for example, can be installed with nginx, the PostgreSQL database and Python. This provides a great deal of value without the need for any third-party services or hosting.

Also included is Dropbear, an SSH server and client that allows you to access your phone or tablet and transfer files. Termux also includes this feature Useful in situations where sharing a few files but not using cloud services is necessary. Take what you need from the Dropbear server, and then shut it down by using an SSH client.

Development Apps in the Termux Command Line

It offers standard distributions of programming languages such as:

  • BASH shell (the default available out of the box, and a great way to get started hacking around)
  • Python (both v2 and v3 are available)
  • PHP
  • Ruby

git and Subversion, two popular source control systems, are also available for use outside of the development process. Your files can be stored in any location of your choosing with source control. As well as being able to use โ€œtagsโ€ to label versions, you can also control when other devices receive updates.


Discover more from Cloudorian - Tech News, Reviews, Deals, and How-To's

Subscribe to get the latest posts sent to your email.

Montel Anthony
Montel Anthonyhttps://www.cloudorian.net/
Montel Anthony is a passionate/enthusiastic Blogger who loves creating helpful guide contents for its users. I'm also a web developer, Graphics designer and Writer.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest news

Samsung One UI 8.5 Rollout Starts May 6 โ€” Eligible Devices and Key Features

Samsung's One UI 8.5 rollout officially began in South Korea on May 6, 2026, targeting flagship phones, foldables, and...

Samsung Software Roadmap May 2026: One UI 8.5, 39 Security Fixes, and Three Devices Dropped

Samsung shipped 39 security fixes to Galaxy devices on May 6, 2026, while simultaneously launching the stable One UI...

UK Mandates iPhone Age Checks For Adult Content Access

Millions of UK users face immediate device lockouts following the recent iOS 26.4 update. You must verify your adult...

iOS 26.5 RCS End-to-End Encryption Is Official: What Changes for Your Texts

Your iPhone-to-Android texts have never been private in transit. Apple confirmed today that iOS 26.5 ships RCS end-to-end encryption...

GUIDES

Samsung SmartThings Family Care Gets a Major 2026 Upgrade: What Remote Caregivers Can Now Do

Three out of four adults globally say they would use smart home monitoring to support aging family members, according...

Shoot Once, Post Everywhere: How This iPhone App Records Portrait and Landscape Video Simultaneously

Most creators shoot every scene at least twice. Once in vertical for Instagram Reels and TikTok. Once in horizontal...

The Google App for Desktop Is Now on Windows Globally โ€” Here Is Everything It Can Do

Google just put its full search engine directly on your Windows taskbar. The Google app for desktop is now...

One UI 8.5 Beta Is Now Live for Galaxy S23 FE: What You Get and How to Install It

Samsung released the One UI 8.5 beta for the Galaxy S23 FE on April 9, 2026. The build is...

How to Enable Android Developer Options on Any Phone (And the 6 Settings That Actually Matter)

Every Android phone ships with a hidden menu most users never find. Buried seven taps deep, Developer Options gives...

Must read

Bill Gates Says “The age of AI has begun”, 5 Ways You Must Prepare Now

The world's most renowned business magnate and philanthropist, Bill...

How to Check CPU Compatibility for Windows 11

Windows 11 is thะต latะตst opะตrating systะตm from Microsoft...

You might also likeRELATED
Recommended to you