Disclaimer: This is for educational purpose only. Do not use it for bad motives.
What is termux?
Termux is an Android terminal emulator and Linux surroundings. What which means in exercise is that you could set up Termux on maximum Android gadgets and do nearly something you will do in a complete Linux improvement surroundings on that device.
You can run here the different programming languages:
Python
Php
Ruby
Perl
Is it safe to use?
It is safe. Just do not execute random scripts from the Internet unless you well understand what they do. If you still decide to execute one, make sure that storage permission is revoked and root (if device is rooted) is not allowed for Termux app.
If you are a IT students or what this is free app to run your scripts made. Some users using it for hacking. But in this article this is not a hacking tutorial this is a quick introduction of termux and how using it.
Which language used for Termux?
Termux has in its arsenal enough packages to work with programming languages: C / C ++, Python, Golang, PHP, Lua.
Here are some basic commands to install a package.
apt list (Used to check which package is available.)
apt show {package name} for example apt show w3m (This is used for more information about the package)
apt install {package name} for example apt install w3m (This command is used to install the available package.)
And for the basic operations.
cp Copy File
cd Change Directory
mv Move File
ls List Directory
rm Delete files
ln creates a symbolic link
wget Fetch files over the internet via HTTP or FTP
You can also use pkg instead of apt like
pkg install python
Install basic packages to execute programs like python, perl, ruby etc.
pkg update && pkg upgrade
pkg install python
pkg install curl
pkg install wget
pkg install perl
pkg install ruby
pkg install php
To locate test your created scripts:
Just write : cd (withspace)/sdcard/(Write your foldername)/ (your script file)
I'm using for running some python scripts. But I'm not a programmer. I used it for educational purpose only. It is like a command prompt in windows os but in this terminal emulator is a for linux so created this app to easy access some created script for run testing or what.