Help writing a shell script!
I need to write a shell script that determines what happens when the '>>' (append) operation accesses a file at the same time as another program. For example:
If two users logged on at the same time and a logfile was being written with the '>>' operation, does the file get accessed by both at the same time, therefore one is overwritten by the other becuase they were working on the same line, or does it wait?
I just need ideas for how to test this, not the actual answer. Thank you.