Creative Hackerz is a non profit organisation works for teaching people about technology , ethical hacking, etc

Subscribe Us

Responsive Ads Here

Sunday, 23 August 2020

Basic Commands in Termux | Creative Hackerz

 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 name

Basic Operations in Termux

Watch Video Tutorial
 

Delete an Empty Directory :

👉 rmdir name

 Deletes non empty directories

Delete 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 another

Move a Files :

👉 mv files-name file-path     

Rename Files : 

👉 mv oldname newname 

Install 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. 

STAY TUNED for upcoming Posts

Subscribe us 👇💓 

No comments:

Post a Comment

Popular Posts

Subscribe On Youtube