You can use the following command to list the headers only: (use the -L argument to list all redirects)
curl –head -L http://romacode.com
You can use the following command to find the final url from redirects:
curl -ILs -o /dev/null -w ‘%{url_effective}’ http://romacode.com