Termux basic commands given blow:
- apt update && apt upgrade
If any update is available ,the comment is automatically update apt lists.
- termux-setup-storage
now you can access your Storage and all the folder in it using termux.
- pwd
This command will tell you, your present working directory
- ls
this command will show you the folder and files in your current working directory.
- cd
cd command allows you to move in a folder just type cd and the folder name you wanna move here.
- cd ..
you will go back in the directory you were in.
- clear
by typing clear in the termux you can clear all the previous results.
- mkdir folderName
Mkdir Stand for make directory. Type mkdir and give a space and type folder name and press enter to see the folder you have just created just type ls
- rmdir folderName
Rmdir stands for Remove Directory.Type rmdir space folder name to remove that folder.
- rm -rf folderName
Please use this command with caution.This command will remove a folder and all the files and folders within it.This command is useful when you want to delete any project downloaded from Github.
- cp files-name file-path
You can copy files by typing cp the file name and after giving a space you can type the path where you wanna copy the file E.g: venom.apk /storage/shared this will copy the venom.apk to the storage/shared folder.
- pkg search package-name
It will show you all the package related to that package name.
- pkg list
all-it will show you all the packages that are available in the APT repository of termux.
- pkg install packageName
you can install any package from the list, just type pkg install package-name.
- pkg install python
Just type this command and it will be installed in your termux press y if it asks for confirmation.after installing python you can write code and also run your own python scripts. Type python to check if python is properly installed or not.
- pkg install git
Git will allow you to download any project from the github.
- git clone Link-of-the-project
If you want to download any project from the git hub you can just use the above just change the Link-of-the-project with your link
e.g: git clone https://github.com/adi1090x/termux-style.git
- top
This command will show you all the tasks running on your termux. To quit the top command on termux just press CTRL+C on your keyboard.
- dpkg --list
By Using this command You will be able to see all the installed packages in your termux app.
Comments
Post a Comment