HeaderOtherTermux Settings

A-Z Complete Termux Commands List

Termux Tutorial | Complete Termux Commands | Termux Commands List

Hello there, Now You Can Now Use Almost All Useful Hacking Tools, Text on Your Android Phone termux commands list

There are many apps and hacking tools available on Android phones, so we can install Kali Linux on them, but it will take time and effort.

Want to read Termux on robbery? First, understand what Termux is and then follow the installation process using Termux and the full Termux command.
In this article, I will give you detailed information and everything you need to know about Termux. So let’s get started.

Also Read : Trace Phone Numbers With PhoneInfoga in Termux & Linux

What is Termux?

Termux is a Powerful Android app Designed to install Linux packages on your Android phone.

Termux is a terminal emulator for Android and Linux site running on Android without the need for rooting or configuration. APT package manager can be used to install additional applications / packages.

You can install shell, python, c, c++, perl, ruby, java, and many other useful packages with this Termux app, and we can use various roaming tools / scripts on our mobile phones with Termux, such as –Nmap, Hydra, and Sqlmap.

If you want to use only the tools you need, read this article in its entirety to learn how to use the Termux app and how to use simple termux commands to install hijacking tools on your Android phone.

What makes Termux different from other terminal emulators is that it is configured in such a way that the Termux site is similar to the Debian standard Linux site.

Because the Android environment is different from the Linux environment in general so in Thermx we can install the most commonly used packages / applications on Linux. termux commands list

With natural features and changes such as those listed above, Termux stands out because it allows you to install Penetration Test Tools (pencil test tools) / hacking software like Metasploit and NetHunter on your Android phone.
Termux also comes with a package manager (APT) that makes it easy to find and install the packages you need in the Termux software repository.

(APT) which makes it easy to find and install the packages you need in the Termux software environment.

 

How does this work

The terminal emulator is software that uses a system call manager to run a command line program and redirect standard input, output, and error streams to the display.

Many of the deadliest Android OS apps work with a small set of resources that are often provided by the app or other root removal tools like Magisk. We decided to take things a step further and send the standard software available on GNU / Linux PCs to the Android OS.

Termux is not a visual machine, nor is it a simulated or simulated location of any kind. All of the provided packages are bundled differently using the Android NDK and just need compatibility updates to work on Android. Because Termux does not have full access to operating system files, it cannot load package files into standard folders such as / bin, / etc, / usr, or / var. Instead, all files are encrypted, which can be found in

Also Read : How to Install BeEF on Termux

 

WHAT ARE THE TERMUX MATERIALS?

It’s up to you !!
Yes !! You can use it as needed. Can be used,

  • Programming in a development environment
  • Hacking
  • Web development
  • Learning the basics of Linux CLI (command line interface)
  • Manage and edit files with nano, vim, and emacs
  • Develop C with clang
  • Check out and install git projects, and text-based games

Okay, Guys Without wasting your precious time I will present the Termux Commands list in a simple and concise manner, I was scheduled to build a Termux Command list pdf, due to lack of time, I am sending orders directly to this post.

Also Read : Create & Host Your Own Dark Web Onion Website on Termux & Linux

What is Termux Commands List?

In simple terms, Termux Commands are terminal instructions, which are performed to perform a specific task. These commands are similar to Linux Commands. termux commands list

 

Termux Command List

More Termux Trick Instructions – Android Phone Robbery – All Temux Trick Commands Basic Termux to Advanced Tips – Android Trick Commands. termux commands list

COMMANDSUSAGE
cp -vused to print informative massage
cp -rused to copy any directory
mv -uupdate-move when the source is newer than the destination
mv -vto move any directory
ls -nto display UID and GID directory
ls –versionto check the version of the ls command
cd —show the last working directory from where we moved
ls -lshow file actions like – modified, date and time, owner of a file, permissions Etc.

 

ls helpshow display how to use the “ls” command
cp -nno file overwrite
cd ~move to the users home directory from anywhere
mv [file1 name] [new file2 name]move or rename two files at a time
cd –move one directory back from the current location
mv [file name]move any file and folder
lslist directory
ls -alist all files including hidden files
pwdit shows your current working directory
mv -iinteractive prompt before overwrite
wget [url]install tool, apt install wget
git clone [url]install any tools with git clone, apt install git
ls -ala formatted listing with hidden files
mv -fforce move by overwriting destination files without prompt
ls -iDisplay the number of files or directory
cpcopy any file
cd /change to the root directory
cdchange directory
cd ..change the current directory to the parent directory
curl -O [url]apt install curl
rmremove or delete files
rm [filename]remove any text files
rmdir [dir name]remove any directory
rm -rfforce remove a directory or a folder
rm -r [name]delete a directory called the name
apt remove [package name]uninstall/remove a package
touch [file name]create new file
mkdir [name]create a directory or folder
more [file name]output the contents of the file
head [file name]output the first 10 lines of a file
tail -f [file name]output the contents of a file as it grows
apt install zipinstall the zip file tool
zip name.zip [file]compress a file using these commands
unzip [zip file]to unzip file
ftplaunch FTP client from a terminal
-puse passive mode
byeterminate the current FTP session, exit
asciiset file transfer to ASCII protocols
bellbell sound after each command
statusshows the current status about FTP server
open hostopen a connection to the remote host
remotehelp [cmdname]request help from FTP server
account [password]supply a password required by remote
uname -mused to find the architecture of your device
dudisplay directory space usage
dfdisplay disk usages

 

calshow display calendar
wshow display who is currently online
cat /proc/meminfoshow memory-related information
cat /proc/cpuinfoshow CPU information
whoamishow your login name
fingure usernameshows information about the user
dateshow the current date and time
uptimeshow the system’s current uptime
man commandshow manual a command
freedisplay memory and swap usage
killsend a signal to process
kill- llist all of the signals that is possible to send with the kill
lspcishow PCI devices
lsusbshow USB devices
apt search [qurey] pkg search [qurey]find a package
locate [file]find all files with the filename
locate [query]find all path names contain a phrase
whereis [command]find location binary /source/man file for a command
which [command]find an executable
grep pattern [files]searching for patterns in files
grep -r pattern filessearching for certain patterns in files
command | grep patternSearch for a pattern in the output of the command
find / -atime40to find all the files, which are accessed 40 days back
find / -cmin -60find change files in the last 1 hour
find / -type d -name mllall directories whose name is all in the directory
find . -type f -perm 0777 -printfind all the files, whose permission is 777
ifconfigshows all configurations of a network interface like IP, mac
ifconfig eth0used view the network setting on the interface eth0
ifconfig wlan0View the network setting on wlan0
ping [host]to ping the host IP and show the results
arpcheck the network card & show IP address
hostdisplay specific server
netstatreview network connection
nslookupfind out DNS-related query
tracerout ipadressdisplay the number of hops & response time to get to a remote system and website

 

whois domainget whois information of the domain
telnet [ip address [post]telnet connection
dig domainget DNS information of domain
scpcopies file, over a source
uname -aused to display kernel information
whereis appshows the possible location for an app
nano [file name]display and edit text files
apt showview package information
append [local-file] remote fileappend a local file to one on the remote
$execute a macro

That’s all you will be able to use sqlmap on your Mobile (termux commands list)

We presented the data collection tools and vulnerabilities and told you How to Install Them in Termux

You can install and use hacking tools written in php, python or any other programming language.

Also Read : How to Hack Android Phone Screen Mirror Live Activity

 

Access and manage files in termux

To manage and access files in termux you must type the command below

termux-setup-storage

Access cd cursor command is used
The default termux directory is available at /data/data/com.termux/
You can access it at any time by typing cd $HOME

ls Command is used to see a list of subdirectories

To access your internal sdcard using you must type cd /sdcard && ls

To remove/delete an empty Directory or file, use this command: rm -rf {filename}
Where the file name belongs to the filename or directory
Similarly, you can use rm -rf [filename]

Creating Directory & Folder Command mkdir is used
Ex: mkdir Hello
When Hello Is Part Of The Directory Folder Name

To Copy files from one document to another, cp Command is used
EX: cp pass.txt /sdcard/Download
Similarly to moving files mv Command files is used

Termux also Supports zipping and opening Zip files
For that zip, unzip Commands are used

Also Read : Hack Front Camera from Target Phone Using Termux & Linux

Also Read : How to Hack WhatsApp Using Meterpreter in Linux & Termux

How To Install Package in Termux

 

After Downloading and Open Termux App

Now Type this command upgrade software & upgrade system

And hit Enter

You Need git, wget, php, curl, python install Termux so type below command :

pkg install git
pkg install wget
pkg install curl
pkg install php
pkg install python

During installation, you will be asked: termux will use some space on your device just type y with Yes.

Nmap is a tool for data collection and scanning risk, insert a nmap in the termux type below the command

pkg install nmap

After that it will take a few minutes to install after installing you can use nmap in termux by typing nmap in termux

 

 

A Detailed Description of the Termux command List :

You need to master these Termux commands because they are very useful in terms of controlling Termux. You won’t be able to use Termux without knowing the commands. These commands are often used to install and manage applications, files, folders, and much more. You can also check out the list of best Termux packages.

Here is a detailed description of basic Termux commands.

 

01 Search for a package:
The pkg search command is used to search for a specific package. You can use the pkg search command to search for Termux packages

pkg search package name

For example:

pkg search metasploit

 

02 Install the package
The pkg install command installs Termux packages that are not currently installed and updates packages that are already installed.

pkg install package name

For example:

pkg to install metasploit

Using the above command will install Metasploit. If you want to install another package, remove Metasploit and then enter your own package name.

 

03 Uninstall the package
The Uninstall package command is used to uninstall a package or tool. You can easily uninstall any package from your Termux with this command.

pkg uninstall package name

Example:

pkg uninstall metasploit

Entering the above command will uninstall Metasploit.

 

04 Reinstall the package in Termux
If you want to reinstall Termux packages to the same versions that were installed before, you can use this command. The pkg reinstall command will first uninstall and then reinstall the package back into your Termux

pkg reinstall package name

For example:

pkg reinstall metasploit

 

 

05 Get detailed information about the package
The pkg show command is generally used to display detailed information about a particular package. Use this command to get detailed information about the package.

pkg show package name

For example:

pkg show git

 

 

06 List of installed Termux packages
Use this command to get a list of all the packages that are currently installed on your Termux.

pkg-list-installed

 

07 List of all Termux packages
The pkg list-all command is used to get a list of all available packages for Termux. Use this command to list all available packages.

pkg list-all

 

08 Show file locations
pkg files used to display the location of installed files and packages in Termux. An example command is given below:

pkg files package name

For example:

pkg files git

 

09 Updating and Upgrading Termux Packages
pkg update && pkg upgrade -y is a mixture of two commands separated by &&. You can use multiple commands in Termux by adding && to Termux.

The pkg update command is executed first and then the pkg upgrade command is executed. -y is used to prompt yes.

Simply put, this Termux command updates and upgrades your Termux packages.

pkg update && pkg upgrade -y

 

10 Clear the Termux screen
Use this command to clear the Termux screen

clear

 

11 Printing the current working directory
Use this Termux command to print the working directory, which means the command will give you the location of the current directory you are in.

pwd

 

12 Change of Directory
You can use this command to change the directory. You can easily move from one directory to another using this command. An example is shown below.

cd $HOME

cd /sdcard

The first command will take you to your Termux home directory, while the next command will take you to your Android device’s sd card.

Return from directory:

cd ..

cd ../../

 

13 Display files and folders of the current directory
Use this Termux command to display the files and folders that are in the current directory.

ls

You can also use this command to display additional information about files and folders, including hidden files.

ls -lha

 

14 Copying files – cp
cp is used to copy a file from one directory to another. For example, I have a file that is on the SD card and the file name is “document“. If I want to move this document to the Termux home directory, then the following command will be used:

cp /sdcard/document $HOME
cp /sdcard/Downloads/img.png $HOME

 

15 Move files – mv
The mv command is used to copy files from one folder to another. The procedure is the same as the command above, only if you want to move the file, use cp mv instead.

mv /sdcard/document $HOME
mv /sdcard/Downloads/img.png $HOME

 

16 Deleting Files and Folders
rm is used to delete files in a directory or folder. rm -rf is used to remove a folder and its contents. For example, if I want to delete a folder called “Document“, then I will use the following command to delete this folder.

rm -rf Document

 

17 Change file and folder permissions
The chmod command is used to change file and folder permissions. Sometimes some files have read-only permissions. To change file permissions from read to read, write, and execute, we use the following command:

chmod +x FILENAME HERE

18 Reading or Creating a File
the cat command is used to read any text, HTML, python file, etc. For example, if I want to read the contents of “document.txt”, then I use the following command:

cat document.txt

Please note that if the file is not present in the target. A document.txt file is then created.

 

19 Command zip
zip is a popular Termux command. The Zip command is used to compress and decompress a specific file or folder.

The following command is used to compress the file:

zip ZIP-NAME.zip FILE-NAME.txt
zip file.zip filename.txt

The following command is used to decompress the file:

unzip FILE-NAME.zip

Note: To use the zip and unzip commands, you will need to install the zip by entering the following Termux command.

pkg install zip

 

20 Create and remove the directory
The mkdir command is used to create directories, while the Termux rmdir command is used to remove directories.

For example, if I want to create a directory/folder named Termux, then I use the following command:

mkdir Termux

The following command will be used to remove the Termux directory:

rmdir Termux

 

21 Command df
Displays the size of the object in the specified folder.

df

 

22 Exit Command Termux
Use this command to close Termux.

exit

 

23 Open the file
Open the file with the default application associated with it. For example, I want to open the file “readme.txt”. Then I use the following Termux command:

open readme.txt

 

24 ping command
The command is used to ping an IP address or website to ensure device reachability to a specific website or IP address. Example:

ping google.com

 

25 View Calendar
Use this command to display the calendar.

cal

 

26 Show date
Use this command to print the date.

date

 

27 Command history
Use this Termux command to view the history of Termux commands you have previously entered.

history

28 Download the file from Termux
The wget Termux command allows you to download any Termux file and package from a URL. The usage of this command is shown below:

wget URL HERE

The Wget package must be installed to use this command. You can install wget using the command below:

pkg install wget

 

29 The Git clone command
You will need the git clone command to clone packages from Github. The usage of this command is shown below:

git clone GITHUB URL HERE

To use a git clone, the git command must be installed in Termux. You can install Git by running the command below.

pkg install git

If you want to know Termux in detail, you can read our article below:

30 Installation of root repository
The below command will install the root repository in your Termux. After installing this repository, you can easily install packages that are present in the root repository.

pkg install root-repo

 

 

Conclusion :

Termux is a simple application that allows you to access the Linux shell on your Android device. It is not just a scam; may also be used for other purposes depending on the user’s computer knowledge.
It is true that hacking activities can be flexible with Termux; previously, hacking was required to bring a portable computer with Linux installed; now, you can hack using an Android smartphone with Termux installed.
Because Android is actually a Linux version, you can use the Termux program to access the Android Linux shell as if you were using a Linux portable computer.

SUMAN

Hello, I'm SUMAN from India. Learn about the termux app from Beginner to pro, At this Site, you will get all the working termux tools, I am also posting the best Termux GitHub tools.

Related Articles

guest
4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Nasacoffee

Tnx for those all wonderful educations

Rajib

ne

Mental boy

Iam very happy and this aap is very nice ✌️

Back to top button
4
0
Would love your thoughts, please comment.x
()
x