mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 00:16:28 +08:00
Fix some typos, add link to jq
This commit is contained in:
parent
7f7272cf88
commit
97df1d8c91
1 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ Notes:
|
||||||
|
|
||||||
- In ssh, knowing how to port tunnel with `-L` or `-D` (and occasionally `-R`) is useful, e.g. to access web sites from a remote server.
|
- In ssh, knowing how to port tunnel with `-L` or `-D` (and occasionally `-R`) is useful, e.g. to access web sites from a remote server.
|
||||||
|
|
||||||
- It can be useful to make a few optimizations to your ssh configuration; for example, this `~/.ssh/config` contains settings to avoid dropped connections in certain network environments, use compression (which is helpful with scp over low-bandwidth connections), and multiplex channels to the same server with a local control file:
|
- It can be useful to make a few optimizations to your ssh configuration; for example, this `~/.ssh/config` contains settings to avoid dropped connections in certain network environments, uses compression (which is helpful with scp over low-bandwidth connections), and multiplex channels to the same server with a local control file:
|
||||||
```
|
```
|
||||||
TCPKeepAlive=yes
|
TCPKeepAlive=yes
|
||||||
ServerAliveInterval=15
|
ServerAliveInterval=15
|
||||||
|
@ -168,7 +168,7 @@ Notes:
|
||||||
|
|
||||||
- If you must handle XML, `xmlstarlet` is old but good.
|
- If you must handle XML, `xmlstarlet` is old but good.
|
||||||
|
|
||||||
- For JSON, use `jq`.
|
- For JSON, use [`jq`](http://stedolan.github.io/jq/).
|
||||||
|
|
||||||
- For Excel or CSV files, [csvkit](https://github.com/onyxfish/csvkit) provides `in2csv`, `csvcut`, `csvjoin`, `csvgrep`, etc.
|
- For Excel or CSV files, [csvkit](https://github.com/onyxfish/csvkit) provides `in2csv`, `csvcut`, `csvjoin`, `csvgrep`, etc.
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ A few examples of piecing together commands:
|
||||||
|
|
||||||
- `look`: find English words (or lines in a file) beginning with a string
|
- `look`: find English words (or lines in a file) beginning with a string
|
||||||
|
|
||||||
- `cut` and `paste` and `join`: data manipulation
|
- `cut`, `paste` and `join`: data manipulation
|
||||||
|
|
||||||
- `fmt`: format text paragraphs
|
- `fmt`: format text paragraphs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue