All basic comand's of termux

 

Termux beginners

Hello, guy in this article we are going to discuss about all the basics command of termux. I think Nowadays so many people use termux. but most of them don't know the basic commands. so this article will help you know the basic commands. Let's start.,,,

How to update and upgrade?

Type this below command it will help you to update and upgrade your packages. if have any updates it will ask if you to update or not (yes or no) you type yes means your packages will be updated.

apt update && apt upgrade

How to give storage permission?

If you do not give storage permission on your termux you are not able to access your sd card or internal storage files so type this below command to access your storage with termux

termux-setup-storage

How do check your current directory?

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

pwd

How to list out all files and folders?

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

ls

How to move backward?

The below command will help you to move backward.

cd ..

How to clean the termux screen?

If we open so many folders and file this will make confusion so the best way is clear your screen type the below command to clear your screen.

clear

How to create a folder or directory in termux?

If you need to create a folder or directory in your termux type this below command.
mkdir (your folder Name)

How to delete directories?

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

rmdir folderName

How to delete folders 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 from one directory to another directory?

Type this below command to copy your files from 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 from 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 processes in termux?

This command will show you all the tasks running on your termux. To quit this below command on termux just press CTRL+C on your keyboard.

top

How to create a txt file in termux?

  1. first, you have to download a package name nano. Type on termux pkg installs 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 the ls command to see your directory.

How to see said text file?

The below command will help you to open and edit your txt file.

cat (your txt file name)

For Example cat errorsfind.txt

Post a Comment

أحدث أقدم