termux hacks shortsfeed#github #shortsfeed #shortstamil #shortsviral #instagram #youtubesho
Termux is a great way to learn the Linux terminal, and it’s easy to install. Put Termux on your phone or tablet, check out some of our terminal basics (such as our articles about mastering the ls and cat commands) and our Bash cheat sheet, and transform the way you use your mobile.
What to read next

9 kubectl commands sysadmins need to know
Download our new kubectl cheat sheet to learn helpful commands for the Kubernetes command-line utility.

Jessica Cherry
(Correspondent)

Back up your phone’s storage with this Linux utility
Take as many shots as you want; gphoto2 makes transferring photos from your device to your Linux computer quick and easyfilm and computing industry, often at the same time.
More about me
5 Comments
These comments are closed, however you can Register or Login to post a comment on another article.

Adam | August 11, 2020
No readers like this yet.
Been using it for over a year now. Combined with screen* and a bluetooth keyboard it make for a very powerfWhen it comes to ultra-mobile computing, I prefer the PocketCHIP or a Raspberry Pi with a screen rather than a mobile phone or tablet. These solutions offer a pure Linux environment that’s as open source as the hardware allows and make no assumptions about how I expect to work.
Sometimes, though, the only thing I have on me is a mobile phone. While there are some really great Android apps out there, many feel like overkill for simple tasks, especially knowing how much can be done in a simple terminal on my Linux desktop. I’m not the only person who feels this way, and that’s why the Termux project was born.
Termux is a terminal emulator and Linux environment app for Android. It also doesn’t require you to root your device.
Termux
(Seth Kenlon, CC BY-SA 4.0)
Termux installs a minimal base system automatically, and additional packages are available using a package manager, just as you do with Fedora, Debian, or the like.
Install Termux
Installing Termux is as easy as installing any app on your Android device. You can use either the default Google Play store or the open source app repository F-Droid.
Termux on F-Droid
(Seth Kenlon, CC BY-SA 4.0)
SKIP TO CONTENT
More Linux resources
Linux commands cheat sheet
Advanced Linux commands cheat sheet
Free online course: RHEL Technical Overview
Linux networking cheat sheet
SELinux cheat sheet
Linux common commands cheat sheet
What are Linux containers?
Our latest Linux articles
You can also download the source code and compile it yourself.
Linux-like Android
Once you have Termux installed on your mobile phone, you essentially have a minimal Linux system running as an application on your (Linux-based) Android device. You can use most of the usual terminal applications you are familiar with, or you can become familiar with them now that you have them on your phone. Most importantly, the Termux interface provides software Ctrl, Alt, Esc, and arrow keys, so essential keystroke shortcuts are easy to type—even on a virtual keyboard. On long trips, I prefer to carry a Bluetooth keyboard with me, so I can use Termux as easily as a terminal on my desktop or laptop.
By default, Termux runs Bash:
$ echo $0
/data/data/com.termux/files/usr/bin/bash
Most of the commands you’re used to will work as expected, whether they’re built-in Bash commands or the usual array of common Linux commands and utils. There are also several other shells available, including Zsh and tcsh.
Installing commands
If you’re used to Linux, or even Homebrew on a Mac or Chocolatey on Windows, then you already know how to install more commands for Termux. Its backend package manager is Apt from Debian Linux, but Termux uses the pkg command as a simplified frontend interface. The result approximates the consistent simplicity of Fedora’s DNF experience, and I’d love to see pkg as an abstraction layer on more platforms (imagine using the same package management commands on Debian, RHEL, and Slackware).
The first package I installed was a simple text editor:
$ pkg search jed
[…]
jed/stable
[ad_2]
source