Termux is a very great tool which allows us to Expore linux environment in our Android Smartphones. The most craziest feature of termux is that it doesnt need root permission.
If you dont Know what is termux See : What is Termux Let us continue.......As termux is Command Line Based , if we have to work with it we have to learn the basic commands which help us to operate and function termux. If you know all the command below you can operate termux smoothly and please practice this command so you can learn more advanced stuff more easily.
List of the Basic Commands in Termux
Given Below is the list , usage and function of the basic commands used on termux. I have added a video on it too
Watch the video and smash that like button and subscribe button
Grant Storage Permission:
👉 termux-setup-storage
this enables you to view and edit storage files from termux
Update all Packages and Dependencies :
👉 apt update
It updates all packages and dependencies to latest version
Upgrade all packages and dependencies :
👉 apt upgrade
Print the directory in which you are :
👉 pwd
Print the name of current working directory
List the files in a directory :
👉 ls
Lists all files in the current working directory
👉ls --sort=option
(option: size, time, version, extension)
Lists content after sorting
Change the Working Directory :
👉 cd
Changes the current directory
👉 cd ..
To Go back to the previous director
👉 cd $HOME
To go to the home directory
Clear Everything on Screen :
👉 clear
To clear everything on screen
Create a New Folder :
👉 mkdir name
It creates a folder in the name nameBasic Operations in Termux
Delete an Empty Directory :
👉 rmdir name
Deletes non empty directoriesDelete Non-Empty Directory :
👉 rm -rf name
this comment deletes non empty drectories with files
Delete a File :
👉rm filename
this deletes files
Copy a File :
👉 cp files-name file-path
To copy a file from one destination to anotherMove a Files :
👉 mv files-name file-path
Rename Files :
👉 mv oldname newnameInstall a Package in Termux :
👉 apt install name
List all packages :
👉 pkg list-all
this command lists all available installed packages in termux
Uninstall Packages :
👉 pkg uninstall name
Search for a Package
👉 pkg search name
It searches packages in that name
Read a Text file from Command Line :
First we have to install a package called nano by typing apt install nano. Then run the below given command
👉 cat filename
Download Github Repos in Termux :
First we have to install git by typing apt install git. Then run the below given command
👉 git clone link
eg: git clone https://github.com/C-Hackerz/freeeeee
Last words
These are some of the basic operations on termux and it will not make you a pro hacker. These commands are necessary for everyone to navigate and operate through Termux. If you think i have missed something comment it below, I will add it too.
No comments:
Post a Comment