101+ Termux Commands List For Android 2021 (Best Ultimate Guide
101+ Termux Commands List For Android 2021 (Best Ultimate Guide
Download Termux
Table of Contents
1. Termux Commands list for Android:
1.1. Search for package:
1.2. Install package
1.3. Uninstall package
1.4. Reinstall a package in Termux
1.5. Detailed info about package
1.6. List installed Termux packages
p g
1.7. List all Termux packages
1.8. Show the location of files.
The pkg search command will search for a specific package. You
may use the pkg search command to find the Termux packages.
Install package
The pkg install command will install Termux packages that are not
currently installed and upgrade packages installed.
Uninstall package
The pkg list-all command would get a list of all available Termux
packages. Use this command to view the list of all available
packages.
pkg list-all
Pkg files are used only to display the location of installed files and
packages in Termux.
How to Install Metasploit Framework in Termux
Application?
How to create Metasploit Payload in Termux?
Step By Step to Hack Android Phone on LAN using Termux
Phishing Attack with Ngrok using Termux & Android Mobile
clear
pwd
Change directory
You can switch easily from one directory to another by using this
command.
cd $HOME
cd /sdcard
The first command will move you to the home directory of Termux,
while the following command will take you to the sd card of your
Android phone.
Going back to the directory:
cd ..
cd ../.. /
Use this Termux command to view the files and directories in the
current directory.
ls
You also can use this command to view more details about files and
directories, including secret files.
ls -lha
Copy files – cp
Cp is also used to copy the file from one directory to the next. E.g., I
have a file that is available on the sd card, and the file name is
“text.” And I want to transfer the document to the home directory of
Termux, and then you will use the following command:
y g
cp /sdcard/document $HOME
Move files – mv
rm -rf Document
You can read any document, HTML, python file, etc. For example, I
want to check the details of “document.txt.” Then I’ll use the
following command:
cat document.txt
Please note that the file is not available at the location. It will then
generate the document.txt file.
Zip command
COMMANDS USAGE
cp -v used to prints informative massage
cp -r used to copy any directory
mv -u update-move when source is newer than destination
mv -v to move any directory
ls -n to display UID and GID directory
ls –version to check the version of ls command
cd — show last working directory from where we moved
show file action like – modified, date and time, owner of
ls -l
file, permissions Etc.
ls help show display how to use “ls” command
cp -n no file overwrite
cd ~ move to users home directory from anywhere
cd – move one directory back from current location
mv [file name] move any file and folder
ls list directory
ls -a list all files including hidden files
pwd it show your current working directory
mv -i interactive prompt before overwrit
wget [url] install tool , apt install wget
git clone [url] install any tools with git clone, apt install git
ls -al formatted listing with hidden files
force move by overwriting destination files without
mv -f
prompt
ls -i Display number of file or directory
cp copy any file
cd / change to root directory
cd change directory
cd c a ge d ecto y
cd .. change current directory to parent directory
curl -O [url] apt install curl
CONCLUSION:
So above is a list of the most refined best Termux
commands list for beginners. It would be best to learn all of
these commands to run the Termux successfully without
any errors. It would help if you tried some Termux scripts
after learning all the Termux commands list. I hope you will
find this article helpful.
PREVIOUS NEXT
Python on Chromebook – How to How to install Wireless
USE and RUN ? Adapter/Wifi Driver in Kali Linux?
(Best Way)
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next
time I comment.
Post Comment