How to change timezone in Linux

To set the timezone in Linux, update /etc/localtime with the appropriate timezone file from /usr/share/zoneinfo. rm -f /etc/localtime ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime This would set your time zone to Europe/Rome.

change MAC address on Kali Linux

This operation requires root privileges. Do the following # macchanger -s eth0 You need yo turn down the interface before changin its MAC address change. Use ifconfig command to turn off your network interface. Remember to have root privileges otherwise you cannot run ifconfig: # ifconfig eth0 down If the following error message appears you … Read more

getting my ip

Depending on what software you have installed the best way to get you external IP is running the following command # echo $(wget -qO – https://api.ipify.org) OR # echo $(curl -s https://api.ipify.org) while getting the internal IP can be achieved with # ifconfig | grep -w inet | awk ‘{ print $2}’ OR # ip … Read more