It should "appear" to hang. But it is waiting for input (your message). After you enter the above command, start typing your message, when you are done with your message type Ctrl-D.
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.