Termux basics : All basic comand’s of termux

Termux beginners

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

termux-setup-storage

How to check you current directory?

This below command will help you to show your preset directory.

pwd

How to list-out all files and folders?

This below command to help you list-out your files and folders.

ls

How to move backward?

this below command will help you to move backward.

cd ..

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.

clear

How to create folder or directory in termux?

If you need to create folder or directory in your termux type this below command.

mkdir (your folder Name)

How to delete directory’s?

If you want to delete any directory in you termux type this below command.

rmdir folderName

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.

top

How to create txt file in termux?

  1. first, you have to download a package name nano. Type on termux pkg install nano press y when asking for confirmation.
  2. type nano on the terminal.
  3. type anything you want I am typing hello world.
  4. Press CTRL+X and press Y to save the file.
  5. Give the file name anyname.txt and press enter.
  6. 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

 

Leave a Reply

Your email address will not be published. Required fields are marked *