$ export TARGET="facebook.com" # Assign our target to an environment variable
$ whois $TARGET
export TARGET="facebook.com"
0xss0rz@htb[/htb]$ nslookup $TARGET
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
Name: facebook.com
Address: 157.240.199.35
Name: facebook.com
Address: 2a03:2880:f15e:83:face:b00c:0:25de
$ whois 157.240.199.35