From 67a9837f586dd6ed6f9824ad80814295695e60a6 Mon Sep 17 00:00:00 2001 From: Bonnie I-Man Ng Date: Sun, 20 Oct 2019 00:26:26 +0800 Subject: [PATCH] more description on xargs `show limits` add output form the command `xargs --show-limits` --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d41f0b..c140afb 100644 --- a/README.md +++ b/README.md @@ -712,9 +712,16 @@ rm `find . -name "*.html"` find . -name "*.c" -print0|xargs -0 rm -rf ``` -##### Show limits +##### Show limits on command-line length ```bash xargs --show-limits +# Output from my Ubuntu: +# Your environment variables take up 3653 bytes +# POSIX upper limit on argument length (this system): 2091451 +# POSIX smallest allowable upper limit on argument length (all systems): 4096 +# Maximum length of command we could actually use: 2087798 +# Size of command buffer we are actually using: 131072 +# Maximum parallelism (--max-procs must be no greater): 2147483647 ``` ##### Move files to folder