Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-16-2004, 03:15 PM   #1
LQ Newbie
Registered: Jan 2003
Distribution: Red Hat 8
Posts: 13

Rep: Reputation: 0
couple of quick questions, please help!

Hi, just had a couple of linux questions.

1. How do i set a directory so that when others create files/directories under it gets the same rights. Do i use chmod +s or something? Like if a file gets deleted from that directory, when it gets recreated it would have the same permissions.

2. Is there a command I can run to tell if a file is open/inuse?

Old 03-16-2004, 03:19 PM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
2. 'lsof'. Use grep with it because it's pretty long.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple quick questions th3_tr00p3r Linux - Newbie 4 08-10-2005 11:06 PM
couple quick slack questions.... Basslord1124 Slackware 6 03-16-2005 11:49 AM
A couple of quick questions. Billy|B-A Slackware 5 01-29-2005 08:59 PM
Couple of quick questions Danno13 Red Hat 8 09-24-2004 05:43 PM
couple quick questions Marcos Van Linux - Newbie 3 05-07-2003 01:00 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration