Hello guy’s in this article we are going to discuss about all basics command of termux. i think Now a days so many people use termux. but most of them don’t know the basic command’s. so this article will help you know the basic command’s. Let’s start.,,,
How to update and upgrade?
Type this below command it will help you to update and upgrade your package’s . if have any update’s it will ask you update or not (yes or no) you type yes means your package’s will be updated.
apt update && apt upgrade
How to give storage permission?
If you not give storage permission on your termux you not able to access you sd card or internal storage files so type this below command to access you storage with termux
How to check you current directory?
This below command will help you to show your preset directory.
How to list-out all files and folders?
This below command to help you list-out your files and folders.
How to move backward?
this below command will help you to move backward.
How to clean termux screen?
If we open so many folders and file’s some this will make confusion so the best way is clear your screen so type this below command to clear your screen.
How to create folder or directory in termux?
mkdir (your folder Name)
How to delete directory’s?
If you want to delete any directory in you termux type this below command.
How to delete folder’s or files?
If you want to delete any folder and files in your termux type this below command.
rm -rf ( your file name )
How to copy files one directory to another directory?
Type this below command to copy your files one directory to another one.
cp (file name) (path name)
For example: cp errorsfind.apk /storage/download
How to move files?
Type this below command to move your files one place to another place.
mv ( your file name) ( path name)
For example: mv errorsfind.apk /storage/download
How to see package details?
If you want to see package details type this below command.
apt show nano
How to see all running process in termux?
This command will show you all the tasks running on your termux. To quit this belowcommand on termux just press CTRL+C on your keyboard.
How to create txt file in termux?
- first, you have to download a package name nano. Type on termux pkg install nano press y when asking for confirmation.
- type nano on the terminal.
- type anything you want I am typing hello world.
- Press CTRL+X and press Y to save the file.
- Give the file name anyname.txt and press enter.
- Type ls command to see your directory.
How to see in said txt file?
This below command will help you to open and edit your txt file.
cat (your txt file name)
For Example: cat errorsfind.txt