Termux Basics
Learn the essential commands for file management, package installation, and terminal navigation. The foundation for everything in Termux.
Package Management
2 commandsUpdate & Upgrade
Update package lists and upgrade all installed packages to latest versions
Install a Package
Install any package from Termux repositories
Files & Directories
10 commandsList Files
List all files and folders in the current directory
Change Directory
Navigate into a folder or directory
Go Back a Directory
Move up one level in the directory hierarchy
Create Directory
Create a new folder
Create Empty File
Create a blank file quickly
View File Contents
Display the complete contents of a text file
Move or Rename File
Move a file to another location or rename it
Copy File
Create a duplicate of a file
Delete File
Permanently remove a file
Delete Directory
Remove a directory and all its contents recursively
Text Editing
1 commandsOpen Nano Editor
Edit text files using the Nano text editor
Utilities
2 commandsClear Terminal
Clear the terminal screen and remove all text
Help
View detailed help and options for any command
💡 Beginner Tips
- • Use
pwdto check your current directory location - • Always use
lsto see what files are in a directory before operating on them - • Use
--helpflag on any command to learn more about it - • Be careful with
rm- deleted files cannot be recovered easily - • Use
tabkey for auto-completion while typing commands - • Regular
pkg update && pkg upgradekeeps your system secure