Dos to unix in emacs

To convert an Emacs buffer from DOS line endings to Unix, type C-x [ENTER] f unix [ENTER].