What is Termux ? And How to Install Ankit Chaubey, 7, June 20223, May 2023 TABLE OF CONTENTS1 What is Termux?2 User interface of Termux3 Installing Termux on Android4 Package availability5 Package repositories6 Termux Cheat Sheet6.1 About The Author6.1.1 Ankit Chaubey6.2 RelatedWhat is Termux?Termux is a free and open source terminal emulator for Android which allows for running a Linux environment on an Android device. In addition, various software can be installed through the application’s package manager.User interface of TermuxTermux’s user interface is fairly simple and only displays extra keys row and the terminal output, managing sessions by swiping left and manipulating Terminal session by tap and holding and clicking more to bring 10 options. It is also possible to change the color scheme and font through Termux:Styling.Extra keys row can also be customized. Users can add more function keys and controls within termux.properties fileTermux also has mouse/touch support which can be used to interact some programs that can be used with mouse such as htop and other ncurses-based applications, scrolling is also be done by swiping over terminal buffer.Installing Termux on AndroidYou can download and install Termux through Google Play or from F-Droid. During the installation, it extracts the bootstrap archive from the APK file and set correct permissions for executable and sets up directories like the home directory.Package availabilityTermux has more than 1000+ packages available as of 2021. However, compared to traditional Linux environments, packages in Termux are still relatively small and certain packages cannot be ported due to a variety of reasons which primarily involve compilation.Package repositoriesTermux has 3 repositories available. Repositories included in the default:main is the main repository containing all CLI utilities and other popular Linux tools and language compilers/interpreters.X11-repo contains X11-based packages and graphical applications.root-repo contains packages that is useful for rooted devices only. However, some packages can be used without root but functionality may be somewhat limitedTermux Cheat SheetCOMMANDSUSAGEcp -vused to prints informative massagecp -rused to copy any directorymv -uupdate-move when source is newer than destinationmv -vto move any directoryls -nto display UID and GID directoryls –versionto check the version of ls commandcd —show last working directory from where we movedls -lshow file action like – modified, date and time, owner of file, permissions Etc.ls helpshow display how to use “ls” commandcp -nno file overwritecd ~move to users home directory from anywheremv [file1 name] [new file2 name]move or rename two file at a timecd –move one directory back from current locationmv [file name]move any file and folderlslist directoryls -alist all files including hidden filespwdit show your current working directorymv -iinteractive prompt before overwritwget [url]install tool , apt install wgetgit clone [url]install any tools with git clone, apt install gitls -alformatted listing with hidden filesmv -fforce move by overwriting destination files without promptls -iDisplay number of file or directorycpcopy any filecd /change to root directorycdchange directorycd ..change current directory to parent directorycurl -O [url]apt install curlrmremove or delete filesrm [filename]remove any text filesrmdir [dir name]remove any directoryrm -rfforce remove a directory or a folderrm -r [name]delete a directory called nameapt remove [package name]uninstall / remove a packagetouch [file name]create new filemkdir [name]create a directory or foldermore [file name]output the contents of filehead [file name]output the first 10 line of filetail -f [file name]output the contents of file as it growsapt install zipinstall zip file toolzip name.zip [file]compress file using this commandsunzip [zip file]to unzip fileftplaunch ftp client from terminal-puse passive modebyeterminate current ftp session, exitasciiset file transfer to ascii protocolsbellbell sound after each commandstatusshows current status about ftp serveropen hostopen a connection to remote hostremotehelp [cmdname]request help from ftp serveraccount [password]supply a password required by remoteuname -mused to find the architecture of your devicedudisplay directory space usagedfdisplay disk usagescalshow display calendarwshow display who is currently onlinecat /proc/meminfoshow memory related informationcat /proc/cpuinfoshow cpu informationwhoamishow your login namefingure usernameshows information about userdateshow the current date and timeuptimeshow the system current uptimeman commandshow manual a commandfreedisplay memory and swap usagekillsend signal to processkill- llist all of the signal that are possible to send with killlspcishow PCI deviceslsusbshow usb devicesapt search [qurey]pkg search [qurey]find a packagelocate [file]find all files with filenamelocate [query]find all path names contains a pharsewhereis [command]find location binary /source/man file for a commandwhich [command]find of an executablegrep pattern [files]searching for pattern in filesgrep -r pattern filessearching for certain pattern in filescommand | grep patternsearch for pattern in the output of commandfind / -atime40to find all the files, which are accessed 40 days backfind / -cmin -60find change files in last 1 hourfind / -type d -name mllfind all directories whose name is mll in directoryfind . -type f -perm 0777 -printfind all tghe files, whose permission are 777ifconfigshows all configuration a network interface like ip, macifconfig eth0used view the network setting on the interface eth0ifconfig wlan0view the network setting on wlan0ping [host]to ping host ip and show resultsarpcheck network card & show ip adresshostdisplay specific servernetstatreview network connectionnslookupfind out DNS related querytracerout ipadressdisplay number of hops & respone time to get to a remote system and websitewhois domainget whois information of domaintelnet [ip address [post]telnet connectiondig domainget DNS information of domainscpcopies file, over a sourceuname -aused to display kernal informationwhereis appshows possible location for an appnano [file name]display and edit text filesapt showview package informationappend [local-file] remote fileappend a local file to one on the remote$execute a macroAbout The Author Ankit Chaubey See author's postsRelated Android Hacking Tech Installing Termux on AndroidLinuxTErmuxTermux Cheat SheetUser interface of Termux
Exploits Hacking for Beginners: Exploiting Open Ports 29, June 202329, June 2023Have you ever wondered how hackers gain unauthorized access to computer systems? In the vast realm of cybersecurity, there exists a technique called “exploiting open ports” that allows hackers to infiltrate networks and compromise sensitive data. In this article, we will demystify the concept of hacking for beginners and shed… Read More
Android Best Sticker Packs for WhatsApp In 2023 21, February 2023Stickers are a great way to add fun and creativity to your WhatsApp conversations. With the help of sticker packs, you can make your messages more expressive and entertaining. There are many sticker packs available for WhatsApp, but some of the best ones include the popular emoji stickers, cartoon characters,… Read More
Games 10 Best Hidden Google Games To Play In 2023 29, December 20221, January 2023Google is a great place to play games, but you might not know that it has tons of free ones. Not only that, but they’re so many different kinds of games! Some are simple and fun while others are more complex and challenging. This list of 10 hidden Google games… Read More