Tuesday, 26 June 2018

Little Guide Of Termux Basic Commands Part-1

Leave a Comment
Hax4us
Hey , I am Lokesh today I am going to teach some basics commands of termux.

Well there is no difference between Linux commands and Termux commands so I can say almost command are same.

cd





cd means change the directory. Its very simple and basic command for beginners. Let's take some examples to understand the working of cd command.
Suppose that I have two folders in home directory of termux.


So I want to goto folder one means I want to change the current directory to one so its very simple just write name of folder or directory after cd  in which you want to enter so command would be like this


So now I am in folder one but wait now i want to go back so is it possible ? Yh just write two dots (..) after cd to go back one step like this


Note that there is a space between cd and two dots and same rule applied for all commands. There must be space after command name. Don't mixup the command with arguments like this


OK so now we know two things

  1. How to change directory or folder
  2. How to go back to my previous directory

ls 

ls stands for list. So as name suggests this command will give us list of current directory (if executed in current directory).

Confused ? :( OK Lets take an example :)

Suppose that I have two folders and one file in home directory of Termux but I want see all as a list so I will just execute ls (see screenshot)


But now I don't want to see list of current directory. Now I want to see list of my folder "one" so I will just write name of folder after ls ( see screenshot)


Now we know four things :
  1. How to change directory or folderw
  2. How to go back to my previous directory
  3. How to list all things in current directory
  4. How to list all things from any other directory.

We will continue our journey in next parts of basic Termux command.



If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a comment