Advertisement

02.17.2007 at 11:47AM PST, ID: 22396432
[x]
Attachment Details

How to lock/unlock a file in Linux

Asked by rdashokraj in Linux Administration

Tags: linux, file, unlock

Hi Folks,

I want to know how to lock a file in Linux?  I did a search on this and found commands like flock, lockf, fcntl etc...but didn't get a clear idea about it.

Along with my above question, I want to know how to check whether a file is been locked or not?


Thanks,
AshokStart Free Trial
 
Loading Advertisement...
 
[+][-]02.17.2007 at 03:32PM PST, ID: 18556904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.18.2007 at 03:15PM PST, ID: 18560174

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2007 at 08:09PM PST, ID: 18568279

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2007 at 10:57PM PST, ID: 18568805

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.20.2007 at 12:21AM PST, ID: 18568992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.20.2007 at 01:42PM PST, ID: 18574351

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Administration
Tags: linux, file, unlock
Sign Up Now!
Solution Provided By: Tintin
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.22.2007 at 05:34AM PST, ID: 18587228

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32