Posted July 14Jul 14 ๐ฑ Complete Beginner Guide to Termux โ 40+ Useful Commands Made EasyHave you just downloaded Termux and donโt know how to use it?Donโt worry! In this blog post, Iโll show you how to use Termux step-by-step, with over 40 important commands to help you copy files, move folders, create new things, and do many powerful tasks on your Android phone.โ Donโt worry if youโre a beginner โ I will use simple English with examples.๐ค What Is Termux?Termux is a free Android app that gives you a Linux terminal on your phone.You can use it to:Learn Linux commandsWrite and run scriptsTest hacking toolsManage files and foldersInstall packages and programsLetโs start learning the most useful commands in Termux!๐ File and Folder (Directory) Commands๐น 1. Create a Foldermkdir foldernameExample:mkdir myfiles๐น 2. Create a Filetouch filenameExample:touch notes.txt๐น 3. See Whatโs Inside a Folderls๐น 4. Go Inside a Foldercd foldernameExample:cd myfiles๐น 5. Go Back One Stepcd ..๐น 6. Go to Home Directorycd๐น 7. Copy a Filecp filename newlocationExample:cp notes.txt /sdcard/๐น 8. Copy a Folder (with everything inside)cp -r foldername newlocation๐น 9. Move a Filemv filename newlocation๐น 10. Rename a File or Foldermv oldname newnameExample:mv old.txt new.txt๐น 11. Delete a Filerm filename๐น 12. Delete a Folderrm -r foldernameโ๏ธ System and Package Commands๐น 13. Update Package Listapt update๐น 14. Upgrade All Packagesapt upgrade๐น 15. Install a Packagepkg install packagenameExample:pkg install python๐น 16. Uninstall a Packagepkg uninstall packagename๐น 17. See All Installed Packagespkg list-installed๐งช Useful Termux Tools to Install๐น 18. Install Pythonpkg install python๐น 19. Install Gitpkg install git๐น 20. Install Curl (used for downloading)pkg install curl๐น 21. Install Wget (another way to download)pkg install wget๐น 22. Install Nano (text editor)pkg install nano๐น 23. Install Nmap (for scanning)pkg install nmap๐น 24. Install PHPpkg install php๐๏ธ File Editing and Viewing๐น 25. Open a File in Nanonano filename๐น 26. View File Contentcat filename๐น 27. See Text with Scrollless filename๐ Internet and Networking๐น 28. Check Internet Connectionping google.com๐น 29. Download a Filewget URL๐น 30. Use Curl to Fetch Website Datacurl URL๐น 31. Use Nmap to Scannmap website.com๐ Permissions and Access๐น 32. Give Storage Access to Termux (Very Important)termux-setup-storage๐น 33. Change File Permissionschmod 777 filename๐น 34. Run a Script Filebash filename.sh๐ Git and Cloning Repos๐น 35. Clone a GitHub Toolgit clone https://github.com/username/repo.git๐น 36. Go into the Cloned Foldercd repo๐น 37. Run the Toolbash toolname.sh๐ More Helpful Commands๐น 38. Clear the Screenclear๐น 39. See Current Directorypwd๐น 40. Exit Termuxexit๐ Final WordsTermux is a powerful app that helps you learn Linux, hacking, programming, and more โ right from your Android phone.With these 40+ commands, you can now:Create and manage filesInstall toolsUse GitHubPractice ethical hackingAutomate tasksAnd more!๐ก Always use Termux for good purposes โ like learning, testing, and growing your skills.
Create an account or sign in to comment