Browse Source

new one-liner for 'diff'

- signed-off-by: trimstray <trimstray@gmail.com>
pull/95/head
trimstray 3 years ago
parent
commit
ecf087c7b8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      README.md

+ 6
- 0
README.md View File

@@ -1822,6 +1822,12 @@ ___
diff <(cd directory1 && find | sort) <(cd directory2 && find | sort)
```

###### Compare output of two commands

```bash
diff <(cat /etc/passwd) <(cut -f2 /etc/passwd)
```

___

##### Tool: [tail](https://en.wikipedia.org/wiki/Tail_(Unix))


Loading…
Cancel
Save