I have a bash alias that creates a random playlist of videos or music with ls. I noticed that sometimes there were duplicates in the list.
If I can't use ls, it's not going to be a one liner anymore, so I have to create a file, store it somewhere, assign execute privileges and link my alias to it. Much more complicated.