Welcome to the Linux Foundation Forum!

Command to determine if a file is open for writing? By any user?

Is there a command where you can specify a file name / path and find out if any user currently has that file open for writing?

I'm trying to rein in a loader program that sometimes 'jumps the gun' and tries to read a file before it's finished.


  • So, you would use lsof.
    lsof | grep filename
  • There is a CMD in my computer where I used to use all the commands for the coding to check if I did right in a way as I am also testing my writing with https://topicsmill.com/essay/philosophy-essay-topics/ to make up philosophy essay topics which is more important to me rather than doing some coding though but you need to wish and make things more sorted

  • jessica76jessica76 Posts: 5

    Doing homework is not always really easy for me, I would like to get some special services for it, so pay someone to do my programming homework is a wonderful idea for me. Such a solution is a pretty good opportunity to deal with different paper issues, to do all the homework really fast and to save your time.

Sign In or Register to comment.