Basic Termux Commands - Useful and Fun
Basic Termux Commands - Useful And Fun
Termux is a Powerful Android app which is Designed to Install Linux packages on your Android Mobile
With this Termux App You Can Install shell, python, c, c++, perl, ruby, java and many more useful packages and with the help of Termux we can use several Hacking Tools/scripts in our mobile including Nmap, Hydra, Sqlmap etc..
Let's Learn How To Use Cmatrix effects on Termux
For That Type Below Command
pkg install cmatrix
After that Type:
cmatrix
Ctmatrix effects will be displayed on termux
Another Cool Command is Sl
Type:
pkg install sl
After that type sl
That's all a small Train will Start Running On Termux
Now let's see what are the background running tasks through termux
just type below command
Top
Now let's find the factor of any number, for that install below package by typing
pkg install coreutils
After that to find the factor of any number then type factor number
eg: factor 100
Let's play with text on termux
we can write text in different styles, firstly try with the figlet
Type:
pkg install figlet
After that type figlet and type the text you want to write in the figlet style
For Colourful text, you have to install toilet package for that, type below command
pkg install toilet
After that type toilet "your text"
You can also try color combination eg
toilet -f mono12 -F gay "Your Text"
Calendar in termux, if you can't to see the calendar in termux then type
cal
To see the calendar
To see the time and date just type date in termux
Now let's talk about some helpful commands
apt update
This command used to update the termux built-in busybox and other packages
apt upgrade
This command is used to upgrade the packages to the latest
Accessing and managing files in termux
To manage and access files in termux then you must type below command
termux-setup-storage
To access a directory cd command is used
The termux default directory is located at /data/data/com.termux/
You can access it anytime by typing cd $home
ls Command is used to see the list of sub directories
To access your internal sdcard you have to type cd /sdcard && ls
To Access your External Sdcard the same command is used cd /sdcard0/ && ls
To Remove/delete an empty Directory or a file, use this command: rm -rf filename
Where filename belongs to the name of the file or directory
Similarly, you can use rm -r filename
To Make a Directory mkdir Command is used
Eg: mkdir Hello
Where Hello Belongs to a Directory Name
For Copying files from one directory to another, cp Command is used
eg: cp /path/file /path
Similarly for moving files mv Command is used
Termux also Supports zipping and Unzipping of Zip files
For that zip , unzip Commands are used
Let's talk about Networking
ifconfig Command is used to get all the information regarding your Network IP Address
To check a particular website is accessible or not in your ISP then you can check that through termux by typing
ping website
Eg: ping google.com
The Interesting thing is you can access the internet through termux, directly in the command line
Firstly you have to install the w3m package by typing
pkg install w3m
After that type below command to access any website
w3m website
eg: w3m google.com
Lynx is similar to w3m
To install lynx, type pkg install lynx
After that type lynx google.com
Share To Your Friends And Learn Together With Us
Comments
Post a Comment