# Play random track using play and random

**URL:** <https://discourse.beets.io/t/play-random-track-using-play-and-random/2101>\
**Category:** Show and Tell\
**Created:** [May 31, 2022, 8:48am UTC](https://discourse.beets.io/t/play-random-track-using-play-and-random/2101 "2022-05-31T08:48:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matlads](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/matlads/32/168_2.png) [@matlads](https://discourse.beets.io/u/matlads)\
**Post date:** [May 31, 2022, 8:48am UTC](https://discourse.beets.io/t/play-random-track-using-play-and-random/2101/1 "2022-05-31T08:48:29Z")

</div>

I have this` bash(1)` alias:

```auto
bp(){
    beet play $(beet random -n 1 -f '$title $artist') &
}

```
