Search Results

Search: Posts Made By: Corona688
2,555
Posted By Corona688
Running a program like programname >datafile 2>&1...
Running a program like programname >datafile 2>&1 makes programname write to datafile even though the program doesn't know the file name -- it doesn't even open the file itself.
2,555
Posted By Corona688
How exactly are these files being written to, by...
How exactly are these files being written to, by what?

There doesn't need to be a reference to their names, necessarily. Redirection from outside can cause them to write to it without having to...
2,555
Posted By Corona688
Of course it is, which is why you examined it in...
Of course it is, which is why you examined it in detail.

Anything used to create or modify the files is relevant.
2,555
Posted By Corona688
Without seeing the code, we can't possibly guess.
Without seeing the code, we can't possibly guess.
2,555
Posted By Corona688
Perhaps an unintended side effect of redirection?...
Perhaps an unintended side effect of redirection?

programname >/path/to/datafile 2>&1 would cause data and error messages to be sent to the same file. You might not notice anything wrong unless...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy