Linux was designed around a strongly integrated command line interface. The transparency of Linux also draws in hackers. Nearly every security professional and expert hacker use Linux because it is compatible with a wide variety of related tools and
software, whereas other operating systems such as Mac and Windows support fewer of these software and tools. In addition, there are capabilities built into Linux that simply are not available in Windows. That is why hacker tools are in most cases ONLY developed for Linux. To become a real expert hacker you should master a few Linux skills.
Now the question arises “Which Linux distro should I use?” As there are tons of Linux distro such as Ubuntu, Fedora, BackTrack, Kali Linux and many more, you can use any of them as they work in a pretty similar manner. However, I suggest the use of Kali Linux if you really wish to dig deeper into this subject because it is all encompassing from a penetration tester’s perspective.
Before moving on to Kali lets just have a look a the file structure in Linux
As you might have got a basic gist of the file structure, Now let’s move on to some basic commands in Kali.
Once you’ve booted up Kali Linux, logged in as “root” ,
You should have a screen that looks similar to this.
Using the cd command
cd command stands for “change directory”. This command is used change or traverses the directory we’re working on.
Using the ls command
ls command in Linux stands for lists. This command is used to list all the files and folders.
Using the pwd command
pwd command in stands for “present working directory”. This command specifies the directory on which the user is currently working.
Using the apt-get upgrade command
This command is used to upgrade all the installed software to their newer version.
Using the apt-get install command
This command will check the dependencies of the packages you want and install any that are needed. As I have shown the installation of python3 below.
Using the “
That’s all for now. I will continue the rest of the basics in the next coming parts.
Author: Arjun Chaudhary