This repository contains essential Termux commands for beginners. Learn how to navigate the Android terminal, install packages, and utilize Linux commands effectively.
- Basic Linux commands
- Package management
- File system navigation
- Network utilities
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
pkg update && pkg upgrade -y && pkg install git wget curl nodejs python openssh unzip zip nano php -y
ls
→ List files and directoriesls -a
→ Show hidden filespwd
→ Show the current directorycd <directory>
→ Change directorycd ..
→ Move to the previous directorymkdir <folder_name>
→ Create a new folderrm <file_name>
→ Delete a filerm -rf <folder_name>
→ Delete a folder with all filescp <source> <destination>
→ Copy a filemv <source> <destination>
→ Move or rename a file
pkg update
→ Update package listpkg upgrade
→ Upgrade all packagespkg install <package_name>
→ Install a packagepkg uninstall <package_name>
→ Remove a packagepkg list-all
→ List all available packages
cat <file>
→ Display file contentnano <file>
→ Edit a file using nano editorecho "text" > file.txt
→ Create a file with texttouch <file>
→ Create an empty file
whoami
→ Show the current usernameuname -a
→ Show system informationtermux-info
→ Show Termux system info
ping <website>
→ Check network connectioncurl <url>
→ Fetch webpage contentwget <url>
→ Download a file from the internet
ps
→ Show running processeskill <process_id>
→ Kill a processtop
→ Show real-time running processes
termux-setup-storage
→ Grant storage accessdf -h
→ Check available storagedu -sh <folder>
→ Check folder size