Termux is a popular terminal emulator app for Android that allows you to run a Linux-like environment on your device. Here are some commonly used commands in Termux:
1 | pkg update | This command updates the package lists and upgrades the installed packages to their latest versions. |
2 |
pkg upgrade
|
It upgrades all installed packages to their latest versions. |
3 | pkg install [package_name] |
Use this command to install packages or software in Termux. Replace [package_name] with the name of the package you want to install. |
4 | apt update | Similar to `pkg update`, this command updates the package lists in the Termux repositories. |
5 | apt upgrade | It upgrades all installed packages to their latest versions from the Termux repositories. |
6 | apt install [package_name] | Use this command to install packages or software from the Termux repositories. Replace [package_name] with the name of the package you want to install. |
7 | ls | Lists the files and directories in the current directory. |
8 | cd [directory_path] | Change directory to the specified path. For example, `cd Downloads` will take you to the Downloads directory. |
9 | pwd | Prints the current working directory. |
10 | rm [file_name] | Deletes the specified file. Use with caution as this command permanently deletes files. |
11 | mkdir [directory_name] | Creates a new directory with the specified name. |
12 | cp [source_file] [destination_directory] | Copies the source file to the specified destination directory. |
13 | mv [source_file] [destination_file] | Moves or renames the source file to the destination file. |
14 | chmod [permissions] [file_name] | Changes the permissions of a file. Replace [permissions] with the desired permission values and [file_name] with the name of the file. |
15 | ping [website] |
Sends a network request to the specified website to check the network connectivity. |
Also Read: TERMUX TOOLS
These are just a few commonly used commands in Termux. Many more commands are available, and you can explore them by typing `help` or referring to the Termux documentation for a comprehensive list of commands and their functionalities.
I hope this blog helps you out.
If you have any queries related to this blog you can do comment or dm on Instagram.
Thank you.
Tags:
Termux