Skip to content

Commit 0530c06

Browse files
authored
Update shuf.md (#345)
第一个例子中命令应该是 shuf 而不是 head
1 parent 78c7b04 commit 0530c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/shuf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ARG(可选):作为输入行的字符串,可以为任意数量。
4444

4545
```shell
4646
# 模拟硬币抛掷,获取前10个结果:
47-
[user2@pc ~]$ head -r -n 10 -e "正面" -e "反面"
47+
[user2@pc ~]$ shuf -r -n 10 -e "正面" -e "反面"
4848
反面
4949
正面
5050
正面

0 commit comments

Comments
 (0)