From 43c2c027468f27b3aef3816480574c03fe310f19 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 13 Jul 2015 13:57:53 +0200 Subject: [PATCH] Remove duplicate xargs usage --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 3a41294..b8f0cac 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,6 @@ Notes: - If you are halfway through typing a command but change your mind, hit **alt-#** to add a `#` at the beginning and enter it as a comment (or use **ctrl-a**, **#**, **enter**). You can then return to it later via command history. -- Use `xargs` (or `parallel`). It's very powerful. Note you can control how many items execute per line (`-L`) as well as parallelism (`-P`). If you're not sure if it'll do the right thing, use `xargs echo` first. Also, `-I{}` is handy. Examples: -```bash - find . -name '*.py' | xargs grep some_function - cat hosts | xargs -I{} ssh root@{} hostname -``` - - `pstree -p` is a helpful display of the process tree. - Use `pgrep` and `pkill` to find or signal processes by name (`-f` is helpful).