I want to achieve something quite simple with pipeline:
step 1 : cat input1 input2 > output
step 2 : gedit output
I can do
cat input1 input2 > output | gedit output
But I wonder how can I ommit typing the name of output file in this case? So the file created from cat redirect should be the file gedit open. Thanks!