Hi,
is it useful to use "sync" at the end of a bash script or will bash
automatically flush everything to the disk before it exists?
Will bash use "sync" after forking, for example, after copying a file
with "cp" is it safe to use "cat" on the same file? Is this always
guaranteed, or is it better to use "sync" after "cp"?
Any cases, where "sync" is useful in bash scripts?
Cheers,
adrelanos