From dd84496c5cb7bc4562276acf5657269e62553d74 Mon Sep 17 00:00:00 2001 From: SAURABH SHARMA <22629916+itsjzt@users.noreply.github.com> Date: Sun, 29 Jul 2018 11:09:06 +0530 Subject: [PATCH] updated linux/shuf to match with osx/shuf (#2226) --- pages/linux/shuf.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/linux/shuf.md b/pages/linux/shuf.md index 3268c1929..5912275e2 100644 --- a/pages/linux/shuf.md +++ b/pages/linux/shuf.md @@ -6,14 +6,14 @@ `shuf {{filename}}` -- Only output the first n entries of the result: +- Only output the first 5 entries of the result: -`shuf -n {{n}} {{filename}}` +`shuf -n {{5}} {{filename}}` -- Write output to another file: +- Write the output to another file: -`shuf -o {{another_filename}} {{filename}}` +`shuf {{filename}} -o {{output_filename}}` - Generate random numbers in range: -`shuf -i {{low}}-{{high}}` +`shuf -i {{1-10}}`