Skip to content

Commit

Permalink
Update shuf.md (#345)
Browse files Browse the repository at this point in the history
第一个例子中命令应该是 shuf 而不是 head
  • Loading branch information
weibk authored Mar 17, 2022
1 parent 78c7b04 commit 0530c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/shuf.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ARG(可选):作为输入行的字符串,可以为任意数量。

```shell
# 模拟硬币抛掷,获取前10个结果:
[user2@pc ~]$ head -r -n 10 -e "正面" -e "反面"
[user2@pc ~]$ shuf -r -n 10 -e "正面" -e "反面"
反面
正面
正面
Expand Down

0 comments on commit 0530c06

Please sign in to comment.