Termux is an Open Source Software(APP) which is exclusively available on Play Store. The source code of this app is available on GitHub as its Open Source. The Termux app is capable to run any Linux command. So Let’s Begin to tutorial…
What is Termux:-
Now a days Termux is most demanding app as it’s mostly used for hacking. Yes you read the correct words its used for hacking due to its capability of running Linux Commands. Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically – additional packages are available using the APT package manager.
You can Access the remote servers using SSH client from OverSSH. Termux is more secure than any of the other app. Install anything on your Android Phone by just using the apt command like apt-get install packagename. Can you imagine a more powerful yet elegant pocket calculator than a readline-powered Python console? Up-to-date versions of Perl, Python, Ruby and Node.js are all available. You can also run your any Program on Termux it may C or C++ Program. You can also install git and many hacking tools on Termux.
Commands from Basic to Advance:
Hope, You understand what is termux. So Let’s see some of the useful commands to run on termux.
cp -v used to prints informative massage
cp -r used to copy any directory
mv -u update-move when source is newer than destination
mv -v to move any directory
ls -n to display UID and GID directory
ls –version to check the version of ls command
cd — show last working directory from where we moved
ls -l show file action like – modified, date and time, owner of file, permissions Etc.
ls help show display how to use “ls” command
cp -n no file overwrite
cd ~ move to users home directory from anywhere
mv [file1 name] [new file2 name] move or rename the file.
cd – move one directory back from current location
mv [file name] move any file and folder
ls list directory
ls -a list all files including hidden files
pwd it show your current working directory
mv -i interactive prompt before overwrit
wget [url] install tool , apt install wget
git clone [url] install any tools with git clone, apt install git
ls -al formatted listing with hidden files
mv –f force move by overwriting destination files without prompt
ls -i Display number of file or directory
cp -r used to copy any directory
mv -u update-move when source is newer than destination
mv -v to move any directory
ls -n to display UID and GID directory
ls –version to check the version of ls command
cd — show last working directory from where we moved
ls -l show file action like – modified, date and time, owner of file, permissions Etc.
ls help show display how to use “ls” command
cp -n no file overwrite
cd ~ move to users home directory from anywhere
mv [file1 name] [new file2 name] move or rename the file.
cd – move one directory back from current location
mv [file name] move any file and folder
ls list directory
ls -a list all files including hidden files
pwd it show your current working directory
mv -i interactive prompt before overwrit
wget [url] install tool , apt install wget
git clone [url] install any tools with git clone, apt install git
ls -al formatted listing with hidden files
mv –f force move by overwriting destination files without prompt
ls -i Display number of file or directory
cat filename Open and show the file in console
cp copy any file
cd / change to root directory
cd change directory
cd .. change current directory to parent directory
curl -O [url] apt install curl
rm remove or delete files
rm [filename] remove any text files
rmdir [dir name] remove any directory
rm -rf force remove a directory or a folder
rm -r [name] delete a directory called name
apt remove [package name] uninstall / remove a package
touch [file name] create new file
mkdir [name] create a directory or folder
more [file name] output the contents of file
head [file name] output the first 10 line of file
tail -f [file name] output the contents of file as it grows
apt install zip install zip file tool
zip name.zip [file] compress file using this commands
unzip [zip file] to unzip file
ftp launch ftp client from terminal
-p use passive mode
bye terminate current ftp session, exit
ascii set file transfer to ascii protocols
bell bell sound after each command
status shows current status about ftp server
open host open a connection to remote host
remotehelp [cmdname] request help from ftp server
account [password] supply a password required by remote
uname -m used to find the architecture of your device
du display directory space usage
df display disk usages
cal show display calendar
w show display who is currently online
cat /proc/meminfo show memory related information
cat /proc/cpuinfo show cpu information
whoami show your login name
fingure username shows information about user
date show the current date and time
uptime show the system current uptime
man command show manual a command
free display memory and swap usage
kill send signal to process
kill- l list all of the signal that are possible to send with kill
lspci show PCI devices
lsusb show usb devices
pkg search [qurey] find a package
locate [file] find all files with filename
locate [query] find all path names contains a pharse
whereis [command] find location binary /source/man file for a command
which [command] find of an executable
grep pattern [files] searching for pattern in files
grep -r pattern files searching for certain pattern in files
command | grep pattern search for pattern in the output of command
find / -atime40 to find all the files, which are accessed 40 days back
find / -cmin -60 find change files in last 1 hour
ifconfig shows all configuration a network interface like ip, mac
ifconfig eth0 used view the network setting on the interface eth0
ifconfig wlan0 view the network setting on wlan0
ping [host] to ping host ip and show results
host display specific server
netstat review network connection
nslookup find out DNS related query
whois domain get whois information of domain
dig domain get DNS information of domain
scp copies file, over a source
uname -a used to display kernal information
whereis app shows possible location for an app
nano [file name] display and edit text files
apt show view package information
cp copy any file
cd / change to root directory
cd change directory
cd .. change current directory to parent directory
curl -O [url] apt install curl
rm remove or delete files
rm [filename] remove any text files
rmdir [dir name] remove any directory
rm -rf force remove a directory or a folder
rm -r [name] delete a directory called name
apt remove [package name] uninstall / remove a package
touch [file name] create new file
mkdir [name] create a directory or folder
more [file name] output the contents of file
head [file name] output the first 10 line of file
tail -f [file name] output the contents of file as it grows
apt install zip install zip file tool
zip name.zip [file] compress file using this commands
unzip [zip file] to unzip file
ftp launch ftp client from terminal
-p use passive mode
bye terminate current ftp session, exit
ascii set file transfer to ascii protocols
bell bell sound after each command
status shows current status about ftp server
open host open a connection to remote host
remotehelp [cmdname] request help from ftp server
account [password] supply a password required by remote
uname -m used to find the architecture of your device
du display directory space usage
df display disk usages
cal show display calendar
w show display who is currently online
cat /proc/meminfo show memory related information
cat /proc/cpuinfo show cpu information
whoami show your login name
fingure username shows information about user
date show the current date and time
uptime show the system current uptime
man command show manual a command
free display memory and swap usage
kill send signal to process
kill- l list all of the signal that are possible to send with kill
lspci show PCI devices
lsusb show usb devices
pkg search [qurey] find a package
locate [file] find all files with filename
locate [query] find all path names contains a pharse
whereis [command] find location binary /source/man file for a command
which [command] find of an executable
grep pattern [files] searching for pattern in files
grep -r pattern files searching for certain pattern in files
command | grep pattern search for pattern in the output of command
find / -atime40 to find all the files, which are accessed 40 days back
find / -cmin -60 find change files in last 1 hour
ifconfig shows all configuration a network interface like ip, mac
ifconfig eth0 used view the network setting on the interface eth0
ifconfig wlan0 view the network setting on wlan0
ping [host] to ping host ip and show results
host display specific server
netstat review network connection
nslookup find out DNS related query
whois domain get whois information of domain
dig domain get DNS information of domain
scp copies file, over a source
uname -a used to display kernal information
whereis app shows possible location for an app
nano [file name] display and edit text files
apt show view package information
Thanks for Visiting...
Keep Supporting...
Best for Android users
ReplyDeleteThanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. dvd duplication services
ReplyDelete