Common Commands of Termux

Here I will show Some Common commands of Termux which is useful To any beginner

As like other terminal termux  is also case sensitive  so in order to use you have to must write the particular name with all same capital or small letters.

1)
cd  




This is the command you must have to use in everytime to get into a folder.
"cd" This command refers to "change directory"
 This is used to get into any folder of your termux setup.
Inorder to use "cd" command you have to type the "cd xxxx" here "xxxx" is replaced to the name of folder.

2)
ls

This command is used to show the list of items or folder present inside a folder or Termux setup.
"ls" states that "lists show".

3)
python
python2

Python and python2 are languages as like c,c++ . These programming languages are used to make a script and to run a script in termux you have to type "python xxxxx.py"
here "xxxxx.py" refers to the name of a script with its extension.
both python and python2 run by different keywords like "python xxxxx" and "python2 xxxxx".

4)
mv

"mv" is used to move a file to other place or get the file out of Termux setup without root.
Inorder to move a file the syntax is "mv xxxxx.xx /storage/emulated/0/"
here you must have to type the full path of a folder otherwise it won't work.

5)
cp 

"cp" is used similar to the move command.
This command is used to copy the file to other storage location.
6)
bash
or
./

"bash" command is used to execute a ".sh" file in termux.
example:
bash XXXX.sh

or

./XXXX.sh

7)
chmod +x

This command is used to give the execution permission to a file after the execution permission you can run the program or bash it.
example:

chmod +x abcdef.xx

Comments