
Andy Walker / Android Authority
One in all Google’s important improvements that has gone largely unnoticed this yr was the rollout of Linux Terminal assist baked proper into Android. In case you personal a Pixel and are working the newest secure model of Android, you may allow the app and open up a world of prospects. Positive, the terminal is daunting, however because of its presence in a digital machine, it stays largely remoted out of your telephone’s important internal workings. This makes it the right playground.
In case you’re asking your self how a black display screen with incoherent traces of textual content generally is a playground, you’ve come to the suitable place. On this piece, I’ll element some helpful, not-so-useful, and downright enjoyable methods to make use of the Linux Terminal app in your Android telephone.
Have you ever enabled the Linux Terminal app in your Pixel?
1921 votes
Become familiar with the fundamentals

Andy Walker / Android Authority
Getting misplaced within the terminal is simple, so a little bit assistance is all the time welcome. I’ve been leaning closely on this good Linux Terminal companion app known as Linux Command Library to assist with the important, must-know instructions. Nevertheless, you needn’t ever transcend the terminal itself for assist.
There are two parameters you’ll want to recollect: assist
and man
.
- Assist shows an inventory of instructions which are out there to you. Consider it as a phonebook.
- Man, alternatively, shows the guide pages for utilities and instructions.
It’s a good suggestion to make use of the assist
command to discover the chances broadly, after which man
to drill down into these you’re enthusiastic about. The person parameter is used as such, with ls for instance:
There are two different essential instructions you’ll must know. They’re:
- Replace the system:
sudo apt replace
andsudo apt improve
- Set up a bundle:
sudo apt set up [name of the package]
- Take away outdated traces from the terminal:
clear
- Shut the presently working program: normally
CTRL c
until in any other case specified by the utility
Experiment with system info instruments

Andy Walker / Android Authority
Let’s take a look at one thing easy earlier than we get into the extra technical objects. Linux has a number of system info instruments that you may entry via the terminal. Operating them on the Pixel provides you with detailed details about how a lot RAM and CPU energy Debian is utilizing, in addition to different particulars associated to your digital machine.
There are two choices out there: neofetch
, which shows a much less nuanced overview of your system, and htop
, which gives real-time updates of system useful resource utilization.
sudo apt set up neofetch
As soon as put in, kind neofetch
or htop
within the terminal and hit the Enter button to run them.
Play a sport, or two, or three!
The command line might sound an impractical option to play video games, however terminal video games simply ooze appeal. Enjoying Bastet, a Tetris-like block stacking sport, was one of many first issues I discovered learn how to do on Linux, and it’s one thing I nonetheless do to this present day. Sure, utilizing the Pixel 8’s comparatively small display screen and management buttons is awkward, nevertheless it’s nonetheless a blast.
To put in it, use the command beneath:
After all, Bastet isn’t your solely choice. Discover a few of my favourite terminal video games beneath, together with their set up instructions:
sudo apt set up pacman4console
sudo apt set up moon-buggy
sudo apt set up ninvaders
Management different gadgets in your community
Maybe one of many extra helpful methods to make use of the terminal in your Android telephone is to command different gadgets in your community via SSH. In case you’ve constructed your personal Pi-hole to dam adverts or construct your personal digital assistant, you may simply SSH into it out of your telephone via the terminal and investigate cross-check it sometimes.
You’ll need to put in SSH utilizing the command beneath
Alternatively, in case you’re not a Pi-hole proprietor, you may nonetheless SSH into nearly any machine, out of your selfmade NAS to your desktop.
Flip the Terminal right into a secret pocket book
There are a number of textual content editors that make full use of the terminal, however nano is my favourite. I’ve used it for years on the desktop, and now I can strive it on the terminal.
To put in it, enter the next command:
As soon as it’s put in, run nano
.
Now you can use the terminal to take notes, too. It can save you the present observe in a textual content file and recollect it when you reopen the app. Good!
Step into the Matrix

Andy Walker / Android Authority
Your Android telephone generally is a portal to 1999, when leather-based trench coats had been nonetheless all the craze. The scrolling matrix display screen continues to be a agency a part of widespread tradition, and you may flip your terminal window into one thing comparable because of cmatrix
.
To put in it, kind the next into the terminal in your telephone, adopted by the Enter key:
To run the utility, kind the next, adopted by the Enter key:
Your telephone’s terminal window ought to now be lined in vertically cascading textual content.
To cease the command, faucet the CTRL button adopted by C.
Stress take a look at your Pixel
Must you stress take a look at telephones recognized for heating issues? Most likely not, nevertheless it’s enjoyable nonetheless. After constructing a system, it’s a good suggestion to emphasize take a look at it to examine what it’s able to, how scorching it’ll get, and whether or not all of the parts are in working order. You are able to do this, too, utilizing conventional Android apps. Nevertheless, it’s far more enjoyable to make use of the terminal.
First, set up the stress testing software:
As soon as put in, you may stress take a look at the CPU by working the next command:
stress –cpu [number of cpus] –timeout [how long you want the test to run, in seconds]
For example, the Pixel 8 has 9 CPU cores, so to emphasize take a look at all of them my command could be:
stress –cpu 9 –timeout 60
To observe the progress of the take a look at, open htop
in a second terminal tab, and swap between the 2 views. You’ll discover the CPU cores on htop kick as much as 100% and stay fairly excessive for the allotted time.
Turn out to be a digital cat mum or dad

Andy Walker / Android Authority
In case you’re a fan of early 2010s popular culture, you may flip your costly Google telephone right into a Nyan Cat show. Run the beneath command:
Then kind nyancat
and hit Enter to run the utility. Your terminal will show a flying poptart-encased feline with rainbow trails.
That is just the start!
The Linux Terminal app is a wonderful addition to Android telephones. Whereas customers solely have entry to a text-based portal to the Debian digital machine, Google is planning to run full-scale Linux apps on Android’s desktop mode ultimately. That’s fairly thrilling, and one thing we are able to all look ahead to sooner or later. For now, the terminal is a good studying and experimenting software for many and a conveyable improvement toolkit for others.
The objects above are merely supposed to spotlight the terminal’s potential. Some have put in full-blown graphical interfaces, turning their Pixels into transportable Linux machines. We’ve even managed to set up and run Doom. The chances are solely actually restricted by your creativeness, so I encourage you to maintain studying assets, guides, and how-tos detailing the extra intricate methods of utilizing the terminal on Android.
Do you might have a enjoyable manner of utilizing the Linux Terminal in your telephone? Maybe I missed one thing helpful. If that’s the case, let the neighborhood know within the feedback beneath.