Basic Kali Linux Command

Kali Linux Command

What is Kali Linux?

Kali Linux is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali contains several hundred tools which are geared towards various information security tasks, such as Penetration Testing, Security research, Computer Forensics and Reverse Engineering. Kali Linux is developed, funded and maintained by Offensive Security, a leading information security training company.

  1. Calendra Command
    Type :- cal
  2. cd Command
    type cd (The cd command also known as chdir (change Directory ) is a command used to change/switch the current working directory.
  3. Date Command
    Type :- date
  4. update kali linux command
    Type :- sudo apt-get update
  5. upgrade kali linux command
    Type :- sudo apt-get upgrade 

PowerShell by Default. Kind of.

A while ago, we put PowerShell into Kali Linux’s network repository. This means if you wanted powershell, you had to install the package as a one off by doing:

kali@kali:~$ sudo apt install -y powershell

Kali on ARM Improvements

Not all of us are installing any location, so we highly recommend that you set your location. This can be done by running the following command, sudo dpkg-reconfigure locations, then log out and go back in.

Download Kali Linux 2020.2

Existing Upgrades If you already have an existing Kali installation, remember you can always do a quick update:

kali@kali:~$ echo “deb http://http.kali.org/kali kali-rolling main non-free contrib” | sudo tee /etc/apt/sources.list
kali@kali:~$
kali@kali:~$ sudo apt update && sudo apt -y full-upgrade
kali@kali:~$
kali@kali:~$ [ -f /var/run/reboot-required ] && sudo reboot -f

 

You should now be on Kali Linux 2020.2. We can do a quick check by doing:

kali@kali:~$ uname -v
#1 SMP Debian 5.5.17-1kali1 (2020-04-21)

kali@kali:~$ uname -r

5.5.0-kali2-amd64

 

How Do I Verify My Downloaded Image?

$ shasum -a 256 kali-linux-2020.2-live-amd64.iso

The output should look like this:

e90e0cfb4bc8fc640219dba66c9fe4308c9502164e432c47a30af50ce9cb3ba2 kali-linux-2020.2-live-amd64.iso

Switching Desktop Environments

kali@kali:~$ sudo apt update

kali@kali:~$

kali@kali:~$ sudo apt install -y kali-desktop-kde

kali@kali:~$

kali@kali:~$ sudo update-alternatives –config x-session-manager

kali@kali:~$

If we choose to install KDE, we have to remember a few conflicts that might come up. We can have KDE installed alongside other DEs, however the way that the packages are currently configured there will be a few configuration conflicts. For example, when both KDE and Xfce are installed Xfce will not be able to have its cursor selected.

To work around this we will remove Xfce and only have KDE installed, and we do not advise having other DEs alongside it. Keep in mind that this only applies for KDE; you may have both Xfce and GNOME installed at the same time with no conflicts.

kali@kali:~$ sudo apt purge –autoremove kali-desktop-xfce

 

 

 

Leave a Reply

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