Termux is a free and open source terminal emulator application that simulates the command line environment of a Linux operating system on a Android device. It has built in support for most of the common Linux commands, allowing users to have a full Linux experience on their mobile devices.
In addition, It also supports installing and running many popular Android applications. As a result, Termux provides an excellent way for users to access and use powerful tools on their Android devices.
There are lots of commands used in termux and you may know few of them but
here in this post you will find lots of commands list which doesn’t needs root access in termux which can be helpful for executing commands so without delay lets begin.
Termux Commands for File Management
Here are few termux commands for management of files:
The ls command traces back to its beginnings as a way for computers to list all the directories and files in their current working folder/directory. It’s used to display files and directories so you can find a specific file or folder.
ls -a command helps in the process of revealing all files and folders, as well as hidden ones and files.
ls ~ All files and folders in the home directory are displayed using the ls command.
ls -l This command helps to access further features. The file details window, for example, includes various commands that display file operations like – modified, date and time, owner of the file, permissions, and more.
cp The copy command is used to move a file from one location to another.
Example: cp image.jpg /ht/movie to copy image.jpg file to movie directory
mv is used to move a file from destination folder to another folder
It can be used like mv himalaya.jpg /data/development to move himalaya.jpg to the development directory.
pwd command is used to display current working directory
touch command is used to create new files in Termux.
car command is used display recent contents of the file
Termux’s mkdir command lets you make a new directory or folder.
To remove files and directories, use the rm command.
rm -r The remove non-empty directories
find command is used to search the files/folders from terminal
Termux Commands for Package Management
Here are few termux commands which can be used for package management:
pkg search command allows you to search packages for Termux and install them later.
pkg install command used to install various packages.
pkg autoclean is used to erase the outdated packages cache.
pkg clean command is used to clear the .deb package cache.
pkg files command shows all files installed by packages, which is useful for determining whether a particular package will be necessary in the near future.
pkg list-all command is used to list all packages available in repositories instead of specific ones.
pkg reinstall command is removes all of the recent changes from a package and then reinstalls it with its most up-to-date version.
pkg show command used to show basic data such as dependencies and imports.
pkg uninstall command is used to delete a package,
pkg upgrade is used to upgrade all the existing packages.
Termux Commands for Linux utilities
Few commands used for linux utilities:
it helps to list all system level commands from terminal
top is a Termux command term to list all background processes. The Terminal shows all the background activities and procedures.
the history command will display a list of all previous commands used in this Termux session.
alias command is useful as it creates an alias for a particular long command which can help you in performing repetitive operations easily.
exit is a useful and frequently employed Termux command. It allows you to quickly quit the Termux terminal.
df -h command is used to check at a glance whether the storage is going to be adequate by examining how much data can be stored on it. It displays how much storage remains and how much has been installed.
The uptime command displays the current status of your Android device.
The curl command is one of the most essential Termux instructions for sending an HTTP request to a specific URL.
It does not support environment variables. However, you may set up environment variables for your Termux terminal using the env command.
Here I have provided lots of commands list which are essential while using termux and basically you need to take care whether command is in small letter or capital letter so enjoy executing it.