Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I trying to delete a folder containing some files. Before deleting i want to check whether any file in the folder is already open by any other application. I ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    3

    Unhappy How to find whether a file is already open or not by any application .

    Hi,

    I trying to delete a folder containing some files.
    Before deleting i want to check whether any file in the folder is already open by any other application.
    I cannot use "lsof" command.
    Is there any function or api which will help me in this?

    Thanks,
    Yogish

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I cannot use "lsof" command.
    Before we suggest anything else, we need to know why "lsof" doesn't work for you. It could be that anything else we suggest will fail for the same reason.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...