Termux is a terminal emulator for Android that allows you to run Linux packages and commands on your mobile device. Here are some basic tips for new beginners:
Installing Termux: You can download Termux from the Google Play Store. After installation, open the app and wait for the command prompt to appear.
Updating Packages: Type "pkg update" in the command prompt to update the packages that come with Termux.
Installing Packages: Use "pkg install" to install packages. For example, to install the nano text editor, type "pkg install nano".
Navigation: You can navigate through the directory structure using "cd" to change directories. Use "ls" to list the files and directories in the current directory.
Running Commands: Type the command you want to run in the terminal and press enter. For example, to see the current time, type "date" and press enter.
Keyboard Shortcuts: Termux supports keyboard shortcuts. For example, press the volume up key and the letter "K" to clear the screen.
Termux Wiki: The Termux Wiki is a useful resource for learning more about Termux and how to use it. You can access it by typing "termux-wiki" in the command prompt.
Termux-Extras: Termux-Extras is a collection of additional packages and utilities that are not included in the default installation of Termux. To install it, type "pkg install termux-extras" in the command prompt.
External Storage: By default, Termux can only access its own storage. If you want to access external storage, type "termux-setup-storage" in the command prompt and grant the necessary permissions.
Uninstalling Packages: To uninstall a package, type "pkg uninstall" followed by the name of the package. For example, to uninstall nano, type "pkg uninstall nano".
After installation, you can start using Termux by running various commands in the terminal. Here are some basic commands you can try:
pkg update: Updates the package repositories and installed packages in Termux.
pkg upgrade: Upgrades all installed packages to their latest versions.
pkg install [package_name]: Installs a package in Termux. Replace [package_name] with the name of the package you want to install.
pkg search [package_name]: Searches for a package in the package repositories.
pkg list-all: Lists all available packages in the package repositories.
cd [directory_path]: Changes the current working directory to the specified directory. Replace [directory_path] with the path of the directory you want to change to.
ls: Lists the contents of the current working directory.
pwd: Displays the current working directory.
clear: Clears the terminal screen.
history: Displays a list of all the commands you have entered in the current session.
whoami: Displays the username of the current user.
uname -a: Displays information about the operating system running on your device.
top: Displays a real-time view of the system processes.
ping [website]: Sends a ping request to the specified website and measures the response time.
ifconfig: Displays the network configuration of your device.
These are just a few of the many commands available in Termux. You can explore the available packages and commands by using the pkg search and pkg list-all commands, or by browsing the Termux Wiki.
For more visit Facebook Page
0 Comments