Spawn Commands allows players to teleport back to the main spawn, to their bed, to named locations, to shared named locations, to coordinates, and to other players.

/spawn Teleports you to the main world spawn point
/spawn. Teleports you to your bed/home location if it is set (note the dot on the end!)
/spawn! Set the location of your bed/home to your current location
/spawn? Displays coordinates of you, the world spawn point, and your bed/home location

Minecraft Forums