I have a program that prints something, and another that reads something and prints another, I would like to know if it has how to connect the output of one with the input of another.
The problem I made was to pass the output from one to txt
, and then I asked the other to read this txt
, as follows:
./teste > texto.txt; ./1024 < texto.txt
Can you do it directly? For example:
./teste > ./1024 (dessa maneira não funciona)