This Termux Basic Commands List is updated for 2021. Termux is the most powerful shell application for Android users. It helps you to access and use powerful Linux tools and commands. To use Termux basic commands should be learned. In this article, we will be sharing a list of Termux basic commands that will help you to understand the basics of Termux. Every Termux basic command will be explained in detail, so you do not miss anything.
We tested all these Termux Basic Commands on our own. We assure you that all of these basic Termux commands are working perfectly. Still, if you face any issues, you can either mail us or leave a comment in the comment box. Let’s start learning the basic commands for Termux.
Termux Basic Commands [Updated for 2021]
Here are the basic termux commands you’ll be using with Termux for the Android app. Termux Basic Commands will help you to use all the Linux tools in Termux efficiently.
clear is a basic termux command used to clear the terminal screen. If you’ve written a lot of commands, and the terminal screen looks garbage. Type clear and hit enter to clear the screen.
ls is a command that is used to list all the directories and files in the working folder/directory. It is used to list the files/directories so, you can look up a particular file or folder.
mv is used to move a particular file or folder to another folder/directory. It can be used like mv image.jpg /data/webdev to move image.jpg to the webdev directory.
cp command is used to copy a file to another directory. Example: cp image.jpg /droidmaze/webdev to copy image.jpg file to webdev directory
5. pkg install
pkg install command is the replacement for apt command in Termux. pkg install command is used to install packages to Termux. For example, use pkg install python3 to install python3 in Termux.
the rm command is used to remove a file/directory. rm is used as rm image.jpg to remove/delete the image.jpg file from Termux. You can also delete the directory with the -r flag. Example rm -r wallpapers to delete/remove wallpapers directory.
the cat command is used to read or create a new file in Termux. cat is used as cat index.html to create an index.html file. If the index.html file exists, it will open the existing file.
mkdir command is used to create a new directory in Termux. You can use this command with the name of the directory to create a new directory. Example: mkdir droidmaze will create a new directory with the name droidmaze.
the top is a termux basic command to display all the background processes. It displays all the background activities and processes in the Terminal. It’s a quite handy command to use in Termux.
10. git clone
git clone is a pretty popular termux basic command used to clone the files from a git repository like GitHub. It is a quite handy command that eases and makes working on Github projects.
the history command is used to see all the previous run commands. It will show up a list of all the commands previously used in this Termux session.
wget command is used to download the files from the internet or any server to your Termux terminal. It comes in very handy. You can also use the -b flag to download files in the background and continue working with Termux.
whoami is a termux basic command used to display the username. It shows the username through which you’re using Termux.
14. df -h
df -h command is used to display the storage usage. It shows how much storage is left and how much is already equipped.
15. chmod +x
chmod +x is a command used to give specific permissions to a particular file, most probably a bash file. So, you can use chmod +x to give permissions to a file, if you want to perform operations that need admin permission.
Termux Basic Commands PDF Guide
In this Termux Basic Commands PDF Guide, we shared the most commonly used and powerful Termux commands. You can download the PDF from the link below.
Copyright Status: It is a copyright-free PDF Guide. You can share it with anyone you want. Thanks.
If you found this guide helpful, then please share it on social media. Ask your doubts and share feedback in the comments section below. Thanks for reading the article. Follow us on Twitter for the latest news and updates related to Android.
Read Next: How to Install and Use Sherlock in Termux?