Top 10 Termux Commands For Beginners – Don’t Miss!

What Are The Top 10 Termux Commands For Beginners? Yes! you’ve read that right and you’re in the perfect place. Here in this article, I will provide the best and the most important Termux commands that every beginner should know about. But are you a Termux user?

What is Termux?

Termux is a command line application for android systems, using which we can perform various essential tasks like programming, web hosting, web developing, web designing, network analyzing, ethical hacking & pentesting, etc. That’s how this application plays a vital role in learning purpose for the beginners, who do not have the ability to buy a laptop or computer device to start. This application is almost same like the terminal of a Linux OS or MacOS.

What Are The Top 10 Best Termux Commands?

So! as a beginner, you may find all the Termux commands are hard to remember, but believe me, once you start using them, all the commands will automatically be on your fingertips.

The command list that I am going to reveal in this blog post includes Termux File System commands, Networking commands, Package Installation commands, Package update and upgrade commands, and lot more.

1. Termux Update & Upgrade Command

apt update // to update termux
apt upgrade // to upgrade termux
apt update && apt upgrade //to update and upgrade termux together

//You can also use "pkg" in place of "apt"

2. Termux Command To Install Package

apt install <package-name>
apt install git (here git is a package name)

//users can also use "pkg" in place of "apt"

3. Create New Directory in Termux

mkdir <directory-name>
mkdir newDirectory

4. Create New File in Termux

touch <file-name.extension>
touch hello.txt (text file)
touch hello.py (python file)
touch hello.sh (bash file)

5. Remove Directory in Termux

rmdir <directory-name>
rmdir newDirectory 

//this command can remove only empty directories
rm -r <directory-name>
rm -r newDirectory

//this command removes empty as well as non empty files and directories.

6. List all Files and Folders of A directory in Termux

//go to that directory that you want to list all the files and folders inside it.
ls 

//you can also specify path of a directory together with the ls command without going inside that directry
ls /home/Desktop 

7. Find Your IP address using Termux

ifconfig 

8. Change Directories in Termux

cd <directory-name>
cd newDirectory //type directory name where you want to go.
cd .. //use this command to go one directory back
cd //use this command to come back to HOME directory from wherever you are.

9. Clear Termux Terminal

clear

//or you can also use CTRL + L shortcut key

10. Exit from Termux

exit

Conclusion

So these are the top 10 Termux commands that every beginner should remember, not only for beginners, even all Termux users use these commands regularly in their day-to-day use. So always remember these commands.

Leave a Comment