The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file locking yang UNIX for Dummies Questions & Answers 3 07-25-2008 05:17 AM
Locking a file in ksh thanuman UNIX for Dummies Questions & Answers 1 04-27-2005 12:01 PM
File Locking penfold UNIX for Advanced & Expert Users 1 04-11-2005 01:47 PM
file locking question Bab00shka UNIX for Dummies Questions & Answers 2 01-29-2004 10:34 AM
ftp file locking Kevin Pryke UNIX for Dummies Questions & Answers 2 06-19-2002 09:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-29-2008
yang yang is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 15
how to do file locking?

how to ensure all files are being locked while updateing some files?
example when i want to update the password and shadow file in unix. how do i implement file locking??

please advice
thanks
  #2 (permalink)  
Old 07-29-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
There are many ways, described in our forum ( the Google search is at the upper right corner ) or the Internet. What are your details, like, preferred language and OS ? Personally I would prefer Perl or C in this regard, see this article for example.
  #3 (permalink)  
Old 07-29-2008
yang yang is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 15
i wil lbe using shell script and ubuntu to test..
Closed Thread

Bookmarks

Tags
file, lock

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0