Some Pro tips kali command

(!):In kali linux terminal you must be use shortcut for your work easy . so you need to use the shortcut way . today i will show you few shortcut way . which may be helpful for you . Let's star it. First of all you you can see this (!) symbol which is very effective . Now we see some basic use of it. In our work  time we need to go back sometime and need to see what was the previous result or command . than we use some shortcut like top arrow and down arrow. it is easy way but I didn't like it . so try to use different here is this is the supper shortcut way to go back your previous command. First if you use (!) this only what happen ? Nothing happen. But if you use !+ 1,2,3,4,5..... etc. than you can see what happen. let's see.

This is my terminal . you can see that I have already type some command here.


Now if i press my top arrow key than i can see my last top command but i can't see my top or  middel command for this i need to press top arrow as long as the we can reach out this command . But if we use  !+/// . we can easily reach our desire goal. let's see example.
 
Now i need to go my mkdir command for this i need to press 5 times to reach here.

   


But now if i type !+m/mk/mkd than i can directly reach my mkdir command . if i use it i will reach there just type and press enter. wherever it stay .see here 



Now if i try with number I can find the same result but it seems to me that it is some difficult . let's see
this time i use !+1,2,3..... Now if i type !+3 it show me the mkdir command and than i can access this command. You try it.

(~): Another very useful command is (~). this command make sure your home directory. wherever you go just type ~ than you can come to your home directory. Suppose now you are in the kali folder which is in the /home/kali/Download/ hacker/ bad/ kali. now you need to go to your home directory just type ~  this. See this you can see that now I'm in okk directory


which is under the home/kali/download/ok . now i need to go back my home directory . now what i do just type ~





Now I'm i home directory.

(!!): last if you type !! this you can see your last command and then you can execute it. like this if you increase the number of ! this symbol side by side you can see the last command show 2 !! for 1.
see the screenshot .my last command was clear . when i type 4 times !! then it printout me clear for 4 times.


next i type 5 times !! than it print me the 20 times clear command. because my last command was 4 times clear. so it return 2 !!= 1.

0 Comments