Hey Folks 🙂 !! In this article, we present the “Termux Cheat Sheet for Hackers” – a comprehensive guide designed to equip users with the essential commands, techniques, and tips to leverage Termux to its fullest potential. Whether you’re a novice seeking to dip your toes into the realm of ethical hacking or a seasoned professional looking to enhance your mobile hacking arsenal, this cheat sheet serves as your go-to resource for mastering Termux.
From basic commands for package management, file manipulation, and text editing to advanced techniques for networking, process management, and security, this cheat sheet covers a wide array of topics essential for hacking and penetration testing on the go. Additionally, we’ll explore how Termux can be integrated with other tools and services to create powerful hacking workflows, enabling users to perform a diverse range of tasks directly from their Android devices.
Lets take a look 🙂 !!
- Installation:
- Install Termux from the Google Play Store.
- Open Termux and allow necessary permissions.
- Basic Commands:
pkg install <package>
: Install a package.pkg upgrade
: Upgrade all installed packages.pkg search <keyword>
: Search for packages.apt update
: Update package lists.apt upgrade
: Upgrade installed packages.apt install <package>
: Install a package.apt remove <package>
: Remove a package.ls
: List directory contents.cd <directory>
: Change directory.pwd
: Print working directory.mkdir <directory>
: Create a directory.touch <file>
: Create a new file.rm <file>
: Remove a file.mv <source> <destination>
: Move or rename a file/directory.cp <source> <destination>
: Copy a file/directory.cat <file>
: Display file contents.nano <file>
: Open file in the Nano text editor.
- Navigation:
- Use
cd
to navigate directories. - Use
ls
to list directory contents. - Use
pwd
to show current directory.
- Use
- Package Management:
- Use
pkg
orapt
for installing, upgrading, and removing packages.
- Use
- Text Editing:
- Use
nano
for simple text editing. - Use
vim
oremacs
for more advanced editing.
- Use
- Networking:
ping <host>
: Send ICMP echo requests to a host.ifconfig
: Show network interfaces.ip addr show
: Show IP addresses.
- SSH:
ssh <user>@<host>
: Connect to a remote host via SSH.
- File Management:
- Use basic Unix commands (
ls
,cd
,cp
,mv
,rm
, etc.) for file manipulation.
- Use basic Unix commands (
- Permissions:
chmod
: Change file permissions.chown
: Change file ownership.
- Process Management:
ps
: Show running processes.kill <PID>
: Terminate a process by its ID.top
: Display and update sorted information about processes.
Termux is a versatile tool, and there’s a lot more you can do with it. This cheat sheet should help you get started with the basics.
A keen learner and passionate IT student. He has done Web designing, CCNA, RedHat, Ethical hacking, Network & web penetration testing. Currently, he is completing his graduation and learning about Red teaming, CTF challenges & Blue teaming.