In this article, we are telling you about Termux, if you have also searched about how to use Termux as a beginner or how to use Termux and you have not come to know about it properly.
In such a situation, you have come to the right place because here you have been told in detail about how to use Termux as a beginner like What is Termux, How to use Termux, basic commands for Termux, etc.
We know that all persons interested in cyber security do not have laptops or desktops, but they still want to learn ethical hacking, in such a situation you can do many types of hacking attacks by using Termux.
Note-
This article is only for Educational Purpose. Don’t miss use your Knowledge and Skills.
What is Termux ?
Before going about how to use Termux, you should know what is Termux, here we are trying to tell you about Termux in easy language, as you will read this article, you will get to know everything.
First of all, we talk about what is Termux, Termux is an Android terminal emulator and Linux environment app which you can use easily on any android phone, you do not even need to root your phone for using Termux.
Here we are not saying that you can do all kinds of hacking attacks using Termux, but still, there are many such things which are done using Termux but before going to all that you have to use Termux. You should also be aware of some basic commands.
You can perform many types of hacking attacks using Termux such as Phishing attacks, bombing attacks, Metasploit as well as some Bug Hunting tools that can also be used. On this website, you will find only the tools used in termux. Along with all other Android Hacking apps will also be told.
How to use Termux ?
Let us now know about how to use Termux, although everyone knows about how to use Termux, in this article also you are being told about it, what is Termux, you have been told above.
Now we are telling you about how to use Termux, to use Termux, first, you have to install this app from the play store, it is very easy to install the app, you can directly download it from the link given here. If you want, you can also download it from the play store by writing Termux.
Termux Official Website
You have to first install termux, after installing termux, when you run this app for the first time, something like this opens in front of you as you can see in the image, this is an Android terminal emulator and Linux environment app.
Here you can run the commands used in Linux, about some basic commands used in termux, you have been told below in this article which you can read.
Here you can also get some errors like unable to locate package and 520 bad gateway, the solution of both these errors is also given to you in this article, if you do not get these errors, then you do not need to do this.
If you get the error show of being unable to locate the package, you can uninstall termux once and install it again. If you still get the error, then you can run the apt update or apt upgrade command, your this error will be solved.
If you get the error show of 520 bad gateway, then you have to download and install termux from f-droid, you are given the link here as you can also see the image of the error in the image.
Download Termux from F droid
F droid Official Website
How to set up Termux ?
So far you have learned about what is termux and how to use termux, now you have to know how to set up termux. Now we have to tell you about how to set up termux, you must have to know what packages you have to install after installing termux.
How to set up termux first you have to run some commands as well as you have to install some packages first you have to run apt update && apt upgrade command as you can see in the image. When you run this command, you are asked yes and no in-between, that you have to do yes and press enter every time.
After doing all this, you have to install some packages first, you have to run the pkg install git command as we have to clone the tools from GitHub and use it, in such a situation it is necessary to install the git package.
If you also want to understand well about how to use termux, then you have to follow all the things mentioned in this article, the way we have installed git package here, in the same way, we have to install python as well.
After doing all this, you have to permit to allow the files to termux, if you do this, you can download and keep the tools wherever you want and use them whenever you want, as in the image.
After doing all this you can install ctmatrix to give a cool look to termux, to install ctmatrix you have to run the apt install ctmatrix command as you can see in the image. We hope you like the How to use Termux as a Beginner post.
After it is installed, you can run ctmatrix, as soon as it is run, numbers start running in front of you like this, this is not any kind of hacking, it is just used to give a good look to termux.
How to install tools in Termux ?
Let us now know about How to install tools in Termux like we have installed some packages here, now the tools related to those packages are also being told by installing.
Just like here, you have been told about how to install tools in Termux by randomly installing the tool, similarly, you can install any other tools and use them.
Here we are telling you by installing the tool, it is not a tool used in any kind of Ethical Hacking, this tool is used to change the termux style, to install any tool in termux, you have to run this command has to be given here. git clone https://github.com/adi1090x/termux-style
After downloading this tool, you have to install it by giving commands like this, after that, you can make changes in the style of termux using this tool, here you were told about the basics of termux.
After doing all this, you can use it by giving the termux-style command, here you get options to change the color and fonts, which you can use, this tool is shown in front of you by running something like this. We hope you like the How to use Termux as a Beginner post.
Basic commands for Termux ?
So far you have learned about what is termux, how to use termux, how to set up termux, and how to install tools in termux, now we are telling you about basic commands for termux which you must know before using termux.
- cd (change directory)
- cd – (Move one directory back from where you are now)
- cd ~ (Move to users have directory from anywhere)
- cd .. (Change current directory to parent directory)
- cd — (Show last working directory from where we moved)
- cd / (Change to root directory)
- ls (list current directory /list folder contents)
- ls -l (To show file or directory, size, modified date and time, owner of file, permission)
- ls -a (List all files including hidden files )
- ls -lh (It show size in human readable format)
- ls -F (Used to add the ‘/’ character at the each directory)
- ls -r (Used to display files , directories in reverse order)
- ls -ltr (Used to show latest modified directory or file date)
- ls -n (to display UID and GID directories)
- ls -i (Display number of file or directory)
- ls -R (Show recursively list of sub directories)
- ls -al (Formatted listing with hidden files)
- ls –version (To check the version of ls command)
- cp (used to copy any files, folders)
- cp -f (Force copy by removing the destination files)
- cp -v (Used to print informative message)
- cp -u (Used to copy when source is newer than dest)
- cp -R (Used to copy any directory “including hidden files”)
- cp -n (No file overwrite)
- mv[Filename] (Used to move any files, folders)
- mv -f (Force move by overwriting destination files without promote)
- mv -v (To move any directory, folders)
- mv -u (Update -move when source is newer than destination)
- mv -i (Interactive prompt before overwrite)
- mv [File1][New File2] (Used to move or rename file one to file 2)
- rm (To remove or delete files)
- rmdir [Dir name] (To remove any directory)
- rm -rf (used to force remove a directory)
- rm -r[Name] (Delete a directory called name)
- apt remove [Package name] (Used to remove package)
- chmod +x [File name] (Used to give permission{Make executable} to a file or script like .py .sh .rb )
- chmod +x * (Set file permission to all files)
- chmod 771 [File name] (Set file permission)
- chmod 777 [File name] (Give executable permission to a file)
- chmod 777* (Give executable permission to all files)
- ifconfig (Shows configuration a network interface for check your local IP, mac address or display the current network interface information)
- wget [url] (To install tools or script from any other website)
- curl [url] (To install tool or script for termux)
Final Words
We hope that you must have come to know about how to use termux as a beginner, here we have told you some basics about termux like what is termux, how to use termux, how to set up termux, and how to install tools in termux, basic commands for termux
In all the coming articles, we will tell you in detail about all the tools used in termux, we also have another website which you must have seen at some point or the other, that website’s name is freelearningtech if you want to learn more about Cyber Security then visit our website.
If you have any kind of question related to How to use termux then you can ask in a comment, you will be fully helped if you like our article on How to use termux as a Beginner, then definitely share this.
Sharing is Caring…………………!