# remove repeated empty lines
cat -s

# play random mp3
mplayer $(ls -1 *.mp3 | shuf -n 1)

# random playlist
ls -1 *.mp3 | shuf | xargs mplayer