Skip to content

Masterdas/Termux-basic-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Termux Basic Commands

This repository contains essential Termux commands for beginners. Learn how to navigate the Android terminal, install packages, and utilize Linux commands effectively.

Features

  • Basic Linux commands
  • Package management
  • File system navigation
  • Network utilities

Termux APK Download :


Termux Main Packages and New Uses:

pkg update && pkg upgrade -y

1. git — Used to clone projects from GitHub.

pkg install git

2. wget — Used to download files from a link.

pkg install wget

3. curl — Used to fetch data from websites.

pkg install curl

4. nodejs — Required to run JavaScript projects.

pkg install nodejs

5. python — Used to execute Python scripts.

pkg install python

6. php — Required to run PHP scripts.

pkg install php

7. unzip — Used to extract ZIP files.

pkg install unzip

8. zip — Used to compress files into a ZIP archive.

pkg install zip

9. nano — A text editor for editing files.

pkg install nano

10. openssh — Allows remote login/SSH connections.

pkg install openssh

**Termux One Codes Full Install pkg **

pkg update && pkg upgrade -y && pkg install git wget curl nodejs python openssh unzip zip nano php -y

File & Directory Commands

  • ls → List files and directories
  • ls -a → Show hidden files
  • pwd → Show the current directory
  • cd <directory> → Change directory
  • cd .. → Move to the previous directory
  • mkdir <folder_name> → Create a new folder
  • rm <file_name> → Delete a file
  • rm -rf <folder_name> → Delete a folder with all files
  • cp <source> <destination> → Copy a file
  • mv <source> <destination> → Move or rename a file

Package Management

  • pkg update → Update package list
  • pkg upgrade → Upgrade all packages
  • pkg install <package_name> → Install a package
  • pkg uninstall <package_name> → Remove a package
  • pkg list-all → List all available packages

Text & File Operations

  • cat <file> → Display file content
  • nano <file> → Edit a file using nano editor
  • echo "text" > file.txt → Create a file with text
  • touch <file> → Create an empty file

User & System Info

  • whoami → Show the current username
  • uname -a → Show system information
  • termux-info → Show Termux system info

Networking

  • ping <website> → Check network connection
  • curl <url> → Fetch webpage content
  • wget <url> → Download a file from the internet

Process & Task Management

  • ps → Show running processes
  • kill <process_id> → Kill a process
  • top → Show real-time running processes

Storage & Permissions

  • termux-setup-storage → Grant storage access
  • df -h → Check available storage
  • du -sh <folder> → Check folder size

📌 Contact Me

YouTube GitHub Telegram WhatsApp

Releases

No releases published

Packages

No packages published

Languages