Changing Hostname in Kali Linux
Step1: Change in hostname fi le Change hostname fi le using nano or any other text editor Path: /etc/hostname Command: sudo nano /etc/hostnam e Change the name from Kali → anyname Save the fi le Step2: Edit Hosts File Change Name in Hosts fi le Path: /etc/hosts Command: sudo nano /etc/hosts Change kali to the same name as mentioned in hostname fi le Remember all the changes can be done only in sudo Now reboot the system to save the changes After Reboot check terminal