From 806a8fae68f83e70e1ab88ab6f4e32542e717a43 Mon Sep 17 00:00:00 2001 From: Brad Erickson Date: Thu, 23 May 2019 00:02:23 -0700 Subject: [PATCH] Add ctrl-d to exit Fixes #481 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 06ceae8..9f7f2db 100755 --- a/README.md +++ b/README.md @@ -98,6 +98,8 @@ 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 **ctrl-d** instead of typing `exit`; especially helpful on remote ssh sessions. + - 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