If you ever played the game of cards, you’d likely be aware of the term shuffling. A bit hard to imagine, there’s a Linux command line tool that exactly does that with lines in files. In this tutorial, we will discuss the basics of the ‘shuf’ command using some easy to understand examples.