The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find Files in Directory by Permission? Feuyaer UNIX for Dummies Questions & Answers 15 09-25-2009 11:10 AM
Find files and display only directory list containing those files r7p UNIX for Dummies Questions & Answers 4 06-05-2009 08:46 AM
Need help to find the files under a directory Sheethal UNIX for Dummies Questions & Answers 8 11-03-2008 03:27 AM
Find files in directory coldstarhk Shell Programming and Scripting 3 09-29-2008 02:03 AM
find files and copy into a directory balireddy_77 Shell Programming and Scripting 4 04-27-2007 03:38 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 1 Week Ago
joshi123 joshi123 is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 2
How can I find out the open files in a directory

Hello all,

Is there any other way of finding the open files in a directory apart from command 'lsof'.

thanks
  #2 (permalink)  
Old 1 Week Ago
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,378
That depends on what OS you are using which you fail to state.
  #3 (permalink)  
Old 1 Week Ago
TonyLawrence TonyLawrence is offline
Registered User
  
 

Join Date: Sep 2007
Location: SE Mass
Posts: 133
You probably have "lsof" or if not, at least "fuser"; either can help.
  #4 (permalink)  
Old 1 Week Ago
markone markone is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 7
Quote:
Is there any other way of finding the open files in a directory apart from command 'lsof'.
Well, yes, I think that there is. But whether its any good for you depends on whether it shares the same flaw as 'lsof'. As you don't say why lsof does not fulfil this purpose for you I can't comment, except that maybe your lecturer has asked you to find another way of finding open files.

lsof is really the obvious way to do it; what is wrong with that?
Sponsored Links
Reply

Bookmarks

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 03:23 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