I was wondering how to redirect the output from my bash file (which is getting its input from another redirect) to a txt file.
This is how I run my program:
$ ./myFile.bash < input.txt
I would like to save my output to some txt file (something like this):
$ out.txt < ( myFile.bash < input.txt )
What would be the most correct/formal/generic ways to go about this? Are there multiple options if any?