A to Z Termux Commands
Command Description
apt update Updates the list of available packages and their versions.
apt upgrade Upgrades all installed packages to their latest versions.
apt install [package_name] Installs a package.
apt remove [package_name] Uninstalls a package.
apt list Lists installed packages.
apt search [keyword] Searches for a package.
bash Starts the Bash shell.
cat [file_name] Displays the contents of a file.
cd [directory] Changes the current directory.
chmod [permissions] [file_name]Changes file permissions.
cp [source] [destination] Copies files or directories.
curl [URL] Transfers data from or to a server.
df Displays disk space usage.
du Shows file space usage.
echo [message] Prints a message to the terminal.
exit Exits the current shell.
find [directory] -name [file_name]Searches for files in a directory hierarchy.
grep [pattern] [file_name] Searches for a specific pattern in a file.
htop Displays an interactive process viewer.
ifconfig Displays or configures network interfaces.
kill [process_id] Kills a running process.
ln -s [target] [link_name] Creates a symbolic link to a file or directory.
ls Lists the contents of a directory.
man [command] Displays the manual for a command.
mkdir [directory_name] Creates a new directory.
mv [source] [destination] Moves or renames files or directories.
nano [file_name] Edits a file using the nano text editor.
netstat Displays network statistics.
ping [host] Sends ICMP ECHO_REQUEST packets to network hosts.
pkg install [package_name] Installs a package (alternative to apt).
pwd Prints the current working directory.
rm [file_name] Removes files.
rmdir [directory_name] Removes empty directories.
scp [source] [destination] Securely copies files between hosts.
ssh [user]@[host] Connects to a remote host over SSH.
tar -cvf [archive_name.tar] [file_name]
Creates a tar archive.
tar -xvf [archive_name.tar] Extracts a tar archive.
touch [file_name] Creates an empty file or updates the timestamp.
uname -a Displays system information.
vim [file_name] Edits a file using the Vim text editor.
wget [URL] Downloads files from the web.
whoami Displays the current user.
zip [archive_name.zip] [file_name]
Compresses files into a ZIP archive.
unzip [archive_name.zip] Extracts files from a ZIP archive.