OSDN Git Service
(root)
/
twpd
/
master.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Regular updates
[twpd/master.git]
/
sh-pipes.md
1
---
2
title: "Shell: named pipes"
3
category: CLI
4
layout: 2017/sheet
5
---
6
7
### Named pipes
8
9
```sh
10
diff <(ls ./old) <(ls ./new)
11
```
12
13
This creates a virtual file with the contents of the output of `ls ./old`.
14
15
### References
16
17
* [Named pipe](https://en.wikipedia.org/wiki/Named_pipe) _(wikipedia.org)_