Bash Get Domain от URL

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