Tag: Linux

  • 3 Ways to Check Ubuntu Server’s Current DNS Settings from Terminal

    No .1: cat /etc/resolv.conf No. 2: nmcli dev show | grep ‘IP4.DNS’ No. 3: resolvectl status   Honestly, I have not completely figured out why there are three ways to do it and when to use each. This is certainly a gap in my Linux networking knowledge at this stage. Certainly, I’ll come back with…

  • How to Change Kali Linux’s Default User to Root in WSL

    After installing a couple of Kali distros in WSL in Windows, I often bumped into below error messages when I was trying to use sudo as a non-root user: Since this is an extremely anonying behavior, which seems to be typical only for the WSL version of Kali, I decided to use root as the…