We made blogs on every tool and everything but we forget to make blogs on this basic thing. So now we are making it, if you don’t know the basic commands of Linux and you are using Linux then you have to face problems. It is better to learn basic commands of Linux before moving on to direct hacking. So let’s start!

Note: All the commands are written in small letters don’t use them in upper-case because Linux systems are case sensitive…

Now we will show you some of the basic commands of Linux below –

1. Whoami

This command shows you the username of your account if you type it in your terminal.

2. Passwd

With this command, you can change your password directly from the terminal, and if you are thinking that it is also the same command as the windows password changing command which didn’t ask you for the current password, and anyone can change your password. So it is not, it asks you for your current password before typing the new one…

3. Mkdir

The following command is used to make a folder. One time you learn the commands then you can do whatever you want from the terminal you don’t have to go anywhere in Linux that’s why Linux operating systems are better because you can control anything from one place. The full form of mkdir command is “Make directory“…

4. Cd

Did you remember this command? we use this command in every single blog and if you know what it does so comment down below what is the full form of this command we will not tell you the full form because this is so easy you have to comment on it. If you don’t know what it does so it basically changes the directory(folder) from one place to another if you give the path of a directory.

5. Ls

When you go inside any directory so obviously you want to see what items are inside that folder and you can do that with the ( ls ) command. So after going inside any folder, you have to type ls, and a list of all items will be shown in the terminal. The full form of ls is “List Directory”

6. Pwd

If you want to know what is the location of your current directory so type this command ( PWD ). This command will tell the exact location of that directory. It is an important command by the way if you are doing a walkthrough challenge…

7. Cat

This command is used to see a (.txt) file or document in the terminal. The command name is funny but hackers use this command the most if you know…

This is my payload txt file which has one payload written in it. Try to read your text file with the cat…

8. Chmod 777 & +x

When a file did not open or run so it means that the file wants permission to run these commands give the permissions to files. The first is (chmod 777) command which gives file permission to open but remember you have to give permission with this command only to that file which you have to use one time. For example, the requirements file of a hacking tool.

The second is (chmod +x) which gives a file universal access means if you give file permission with this command so you have to type only the name of that file and you can open that file from anywhere in the terminal. For example, you can give permission to a tool with this…

9. Ifconfig

This is a very basic command everybody knows about it because it only shows your IP address. Type it and see your IP if you want to…

10. Sudo su

Now the Boss comes 😀, nothing is greater than this because it gives you the root access of the system. And once you get root access then do whatever you want…

These are some of the basic commands of Kali Linux which is necessary to know…

If you have any problem with our blog so you can comment to us we will try to fix it.

– Yash Choudhary

0 Shares:
2 comments
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like