This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| snippets:grep [2015/07/27 16:26] – created allspark_cp | snippets:grep [2016/11/16 09:01] (current) – allspark_cp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # grep | ||
| ``` | ``` | ||
| Line 4: | Line 5: | ||
| ``` | ``` | ||
| - | with less -R | + | with [[snippets:less|less]] |
| + | |||
| + | ## ipv4 | ||
| + | |||
| + | ``` | ||
| + | grep -E -o ' | ||
| + | ``` | ||
| + | |||
| + | ## ipv6 | ||
| + | |||
| + | ``` | ||
| + | grep -o -E ' | ||
| + | ``` | ||