Change Hostname In Kali Linux

Hello Everyone Today I will Teach You how to change hostname in Kali linux

1. What is hostname ?

Hostname is the name of the computer user or you can say the administrator of the computer .

e.g  the text after root@  is called hostname here it is 

root@13373XP1017



By default it will be something like root or admin or kali , so to change it ...

1. Open terminal and type hostname [the name you want ] and press enter
e.g hostname ethicalhacker 

2. type [text editor] /etc/hostname and press enter
e.g leafpad /etc.hostname 

A text will apper the old hostname change the text to the hostname you entered in terminal and save it .

Doneeee

Check this video to understand better