I need to run two commands. The first creates a file that is used as an input parameter to the second. I can work as follows:
$ cmd1 p1 p2 > tmp.txt $ cmd2 -i tmp.txt p3
The -i cmd2 on cmd2 accepts the file name. Is there a way to do this on a single line without creating a tmp.txt file?
stand source share