Bash Get Domain de l'URL

echo http://example.com/index.php | awk -F[/:] '{print $4}'
steamboatid