📅  最后修改于: 2022-03-11 14:51:20.207000             🧑  作者: Mango
# reference: https://stackoverflow.com/questions/56824788/how-to-connect-to-windows-postgres-database-from-wsl
grep nameserver /etc/resolv.conf | awk '{print $2}'