Added the tab key
parent
4bafc6d011
commit
48e9949640
|
@ -61,6 +61,8 @@ Scope:
|
||||||
|
|
||||||
- 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.
|
- 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.
|
||||||
|
|
||||||
|
- If you want to type a command but you remember only the beginning, hit **tab** to complete your command or double hit **tab** to display all possibilities.
|
||||||
|
|
||||||
- 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:
|
- 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
|
```bash
|
||||||
find . -name '*.py' | xargs grep some_function
|
find . -name '*.py' | xargs grep some_function
|
||||||
|
|
Loading…
Reference in New Issue