Commands After Installation Termux | Basics Of TermuX for New Beginners

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:

  1. Installing Termux: You can download Termux from the Google Play Store. After installation, open the app and wait for the command prompt to appear.

  2. Updating Packages: Type "pkg update" in the command prompt to update the packages that come with Termux.

  3. Installing Packages: Use "pkg install" to install packages. For example, to install the nano text editor, type "pkg install nano".

  4. 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.

  5. 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.

  6. Keyboard Shortcuts: Termux supports keyboard shortcuts. For example, press the volume up key and the letter "K" to clear the screen.

  7. 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.

  8. 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.

  9. 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.

  10. 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:

  1. pkg update: Updates the package repositories and installed packages in Termux.

  2. pkg upgrade: Upgrades all installed packages to their latest versions.

  3. pkg install [package_name]: Installs a package in Termux. Replace [package_name] with the name of the package you want to install.

  4. pkg search [package_name]: Searches for a package in the package repositories.

  5. pkg list-all: Lists all available packages in the package repositories.

  6. 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.

  7. ls: Lists the contents of the current working directory.

  8. pwd: Displays the current working directory.

  9. clear: Clears the terminal screen.

  10. history: Displays a list of all the commands you have entered in the current session.

  11. whoami: Displays the username of the current user.

  12. uname -a: Displays information about the operating system running on your device.

  13. top: Displays a real-time view of the system processes.

  14. ping [website]: Sends a ping request to the specified website and measures the response time.

  15. 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

Post a Comment


Cookies Consent

This website uses cookies to offer you a better Browsing Experience. By using our website, You agree to the use of Cookies

Learn More