Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
Complete Termux Commands Cheat Sheet 2024
October 8, 2024 by Achik Ahmed
4.7/5 - (13 votes)
Termux is a powerful terminal application for Android devices that provides a Linux-like environment
where you can access a lot of command-line tools and packages that makes it a favorite application for
tech lovers and ethical hackers.
If you are a beginner or even an advanced user, having a handy cheat sheet of Termux commands can
help you to use Termux more easily. In this article, we will provide a complete list of Termux commands
1 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
by category wise so that you can easily understand.
• Termux Basic Commands
• Basic Package Management Commands
• Termux Storage Commands
• File and Directory Commands
• Text Editing Commands
• System Information and Monitoring
• Network Commands
• Process Management Commands
• Scripting and Development Commands
• Termux API Commands
• Termux Tools Commands
• File Running Commands
• Git Commands
• Other Useful Commands
• Conclusion
• cat <file>: Display the contents of a �le.
2 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
• termux-setup-storage: Grant Termux access to the Android �le system.
• clear: Clear the terminal screen.
• pwd: Print the current working directory.
• ls: List �les and directories.
• cd <directory>: Change to a speci�ed directory.
• mkdir <directory_name>: Create a new directory.
• touch <file>: Create a new empty �le.
• rm <file>: Delete a �le.
• mv <source> <destination>: Move or rename �les.
• cp <source> <destination>: Copy �les or directories.
• pkg update: Update package lists from repositories.
• pkg upgrade: Upgrade all installed packages.
• pkg install <package_name>: Install a speci�c package.
• pkg uninstall <package_name>: Uninstall a speci�c package.
• pkg search <query>: Search for a package by name or keyword.
• pkg show <package_name>: Show detailed information about a speci�c package.
• apt list --installed: List all installed packages.
3 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
• pkg list-all: List all available packages.
• pkg autoclean: Remove unnecessary packages.
• ls /sdcard: List �les in the shared storage.
• find <directory> -name <file>: Find �les in a directory by name.
• tar -cvf <archive_name>.tar <directory>: Create a tarball from a directory.
• tar -xvf <archive_name>.tar: Extract �les from a tarball.
• stat <file>: Show �le or directory status.
• ls: List �les and directories.
• pwd: Print the current working directory.
• cd <directory>: Change to a speci�ed directory.
• cp <source> <destination>: Copy �les or directories.
• mv <source> <destination>: Move or rename �les or directories.
• rm <file>: Remove a speci�ed �le.
• rmdir <directory>: Remove an empty directory.
• touch <file>: Create a new empty �le.
• cat <file>: Display the contents of a �le.
• head <file>: Show the �rst 10 lines of a �le.
• tail <file>: Show the last 10 lines of a �le.
• : Show �le or directory status.
• nano <file>: Edit �les with the Nano editor.
• vim <file>: Edit �les with the Vim editor.
• cat <file>: Display the contents of a �le.
• sed 's/old/new/g' <file>: Replace ‘old’ with ‘new’ in a �le.
• grep <pattern> <file>: Search for a speci�c pattern in a �le.
4 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
• uname -a: Display system information.
• top: Show running processes and resource usage.
• htop: An improved version of top (requires installation).
• df -h: Display disk usage in human-readable format.
• du -sh <directory>: Show the size of a speci�ed directory.
• free: Show memory usage.
• termux-info: Display information about the Termux environment.
• lscpu: Display CPU architecture information.
• lsusb: List USB devices connected to your system.
• lspci: List PCI devices (may not work on all devices).
• ping <host>: Test connectivity to a speci�ed host.
• ifconfig: Show network interfaces and con�gurations.
• curl <URL>: Download a �le from a speci�ed URL.
• wget <URL>: Fetch �les from the web using wget.
• ssh user@host: Connect to a remote system using SSH.
• traceroute <host>: Trace the route to a network host.
• netstat: Display network connections and listening ports.
• nslookup <domain>: Query the DNS for a speci�c domain.
• fg <job_id>: Bring a background job to the foreground.
• ps: List running processes.
• top: Show running processes and resource usage.
• htop: An improved version of top (requires installation).
• kill <pid>: Terminate a process by its PID.
• killall <process_name>: Terminate all processes with the given name.
• jobs: List active jobs.
• bg <job_id>: Resume a job in the background.
• : Bring a background job to the foreground.
• python <[Link]>: Run a Python script.
• bash <[Link]>: Run a Bash script.
5 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
• gcc <file.c>: Compile C code.
• g++ <[Link]>: Compile C++ code.
• node <[Link]>: Run a [Link] script.
• chmod +x <[Link]>: Make a script executable.
• ./<[Link]>: Execute a script in the current directory.
• termux-battery-status: Get battery status and information.
• termux-location: Get the current device location (GPS).
• termux-vibrate: Make the device vibrate.
• termux-wifi-scaninfo: Get information about Wi-Fi networks.
• termux-telephony-call <phone_number>: Make a phone call from the terminal.
• termux-telephony-sms-send <phone_number> "<message>": Send an SMS.
• termux-camera-photo <file_path>: Take a photo using the device camera.
• : Network exploration and security auditing tool.
• nmap <target>: Scan a target for open ports and services.
• : Penetration testing framework.
• msfconsole: Start the Metasploit console.
• : Network login cracker.
• hydra -l <username> -P <password_list> <protocol>://<target>:
Perform a brute force attack on a speci�ed service.
• : Web server scanner.
• nikto -h <target>: Scan a web server for vulnerabilities.
• : Toolset for assessing Wi-Fi network security.
• airmon-ng: Start monitor mode on wireless interfaces.
• airodump-ng <interface>: Capture packets on a speci�ed interface.
• : Automatic SQL injection and database takeover tool.
• sqlmap -u <url> --dbs: Enumerate databases on a target URL.
• : Command-line utility to download �les from the web.
• wget <URL>: Download a �le from the speci�ed URL.
• : Transfer data from or to a server.
• curl -O <URL>: Download a �le from a speci�ed URL.
6 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
• sh <[Link]>: Run a shell script.
• python <[Link]>: Execute a Python script.
• ruby <[Link]>: Run a Ruby script.
• perl <[Link]>: Execute a Perl script.
• node <[Link]>: Run a [Link] script.
• java <ClassName>: Run a compiled Java program.
• ./<executable>: Execute a compiled executable in the current directory.
• bash <[Link]>: Execute a Bash script directly.
• git clone <repository_url>: Clone a remote repository.
• git init: Initialize a new Git repository.
• git add <file>: Stage �les for commit.
• git commit -m "message": Commit staged changes with a message.
• git push origin <branch>: Push commits to the speci�ed remote branch.
• git pull: Fetch and merge changes from a remote repository.
• git branch: List all branches in the repository.
• git checkout <branch>: Switch to a di�erent branch.
• df -i: Show inode usage.
• clear: Clear the terminal screen.
• history: Show the command history.
• alias <name>=<command>: Create a shortcut for a command.
• exit: Close the Termux session.
• date: Show the current date and time.
• echo "text": Print “text” to the terminal.
The cheat sheet provided in this article is a complete Termux commands list from beginner to advanced
which will help you with installing packages, editing �les, monitoring system performance, or developing
applications. As you continue to explore the capabilities of Termux, you’ll �nd that this terminal
7 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
emulator is a powerful tool for both tech lovers and ethical hackers.
Top 20 Essential Termux Commands for New Users
Termux Cool Commands
proud owner of [Link], Assam native. Tech enthusiast, sharing
Termux and Linux expertise. Simplifying tech for all—from beginners to pros. Join me
on this knowledge-sharing adventure!
...
December 22, 2024 at 10:11 pm
Hello, Thanks for Sharing
Best Wishes
Reply
8 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
Leave a Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Post Comment
9 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
Search.... Search
Facebook
Twitter
YouTube
10 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
11 of 12 08/03/2025 15:55
Complete Termux Commands Cheat Sheet 2024 - Termux ... [Link]
© 2025 Marketer • Built by Achik •
Privacy and cookie se�ings
Managed by Google. Complies with IAB TCF. CMP ID: 300
12 of 12 08/03/2025 15:55