How can I randomize the lines in a file using standard tools on Red Hat Linux?

前端 未结 11 1034
醉酒成梦
醉酒成梦 2020-11-28 05:25

How can I randomize the lines in a file using standard tools on Red Hat Linux?

I don\'t have the shuf command, so I am looking for something like a

11条回答
  •  清歌不尽
    2020-11-28 05:51

    When I install coreutils with homebrew

    brew install coreutils
    

    shuf becomes available as n.

提交回复
热议问题