What is Termux?
Termux is a terminal emulator for Android. Its purpose is to run Linux command line executables. We supply a great set of prebuilt ones, but you also can develop your own (if can).
To have success with using Termux you need some level of knowledge about Linux and shell scripting. Without these two the application basically would be either very difficult to use or completely useless. If you come across Termux, my suggestion is to think about why you have installed it and not about what Termux can do. Remember that Termux functions are limited by skills of its user.
Just a very basic part of what Termux can do:
File management
Programming
File synchronization
Administration of remote servers using SSH
Serving a web site (either dynamic or static)
Torrent
List of Basic Termux Commands
Here are the basic Termux commands that you must master when learning to use Termux, this command code is very useful because this Termux code is often used to install, manage applications, files, and folders if you are serious about learning to hack you should get used to using the Termux command code below :
- pkg help
to see the options provided by the TERMUX pkg package manager.
- pkg search <package name>
for packages by name.
- pkg install <package name>
to install packages.
- pkg uninstall <package name>
to delete packages.
- pkg reinstall <package name>
to reinstall packages.
- pkg show <package name>
to display detailed information about packages.
- pkg list installed
to display the list of packages installed in your Termux.
- pkg files
to view the location of installed files packages.
- pkg list-all
to display all packages provided in the repository.
- pkg upgrade
to update and upgrade packages installed in your Termux.
- clear
This basic command is used to clean the console window.
- pwd
pwd (print working directory), used to see the position of the current directory location.
- ls
used to view/list files and directories. use ls -lha to view detailed information from files and folders.
- cd
Used to navigate/move to another directory that we want, use it cd .to return to the directory level, use it cd ~ to go to the home directory.
- cp
Used to copy/copy files and folders.
- mv
Used To move files and folders or can be used to rename if the file/folder has the same origin and destination.
- rm
Used to delete files.
rm -rf namaFolder to delete the folder and its contents.
- rmdir
Used to delete an empty Folder.
rmdir –ignore-fail-on-non-empty folder name to delete a non-empty folder.
- chmod
Used to change File / folder permissions / privilege.
chmod +x Folder name to change permission to 775 or rwx – x – x.