Monitoring a file to get details about write operations

Recently I was stumped about the fact that I couldn’t directly answer somebody’s question about how to monitor a file on Linux for write operations. As a result I started researching about that topic and in this article I’m describing various different ways to trace what’s happening on your Linux system.