4 ms·
Well, on unix systems unlinking a file and creating a new one is not the same as modifying the file. If a process has the old file open it will keep that open a
by clort 6y ago
Well, on unix systems unlinking a file and creating a new one is not the same as modifying the file. If a process has the old file open it will keep that open and remain running with the old file. The new file is a different file.
Is bash closing the file and reopening it, or is the editor writing back to the same filehandle I wonder?