Post History
What you're looking for is called process substitution. In Bash and many bash-like shells, you can use <(foo_command --with --arguments) instead of the file path: diff <(ls /home/alice) <...
Answer
#2: Post edited
- In Bash and many bash-like shells, you can use `<(foo_command --with --arguments)` instead of the file path:
- ```
- diff <(ls /home/alice) <(ls /home/bob)
- ```
- What you're looking for is called [process substitution](https://tldp.org/LDP/abs/html/process-sub.html).
- In Bash and many bash-like shells, you can use `<(foo_command --with --arguments)` instead of the file path:
- ```
- diff <(ls /home/alice) <(ls /home/bob)
- ```