writing to this file makes the terminal outputs some data .
there is "one" file available , so let's assume many terminals are running at the same and all of them are writing to that file .. at some point the data should interfere and the output would not be as intended
i have tested that and saw that the data doesn't interfere .. why ?
your first problem is several processes writing to one file, that will lead to problems
yes but my question is how the terminal solves this while having only one file that all processes writes (it is typically a symbolic link to another file /proc/fd/1)
Обсуждают сегодня