How to write both output and error stream to the same file?
by sabitha[ Edit ] 2012-06-06 11:19:39
How to write both output and error stream to the same file?
In Unix/Linux we can use pipes to write output and error streams to a file. One can even write them to the same file.
But the below command helps us to write both to the same file but maintaining the order.
For bash ,
swipl -s jobshop.chr < CHRInput &> output