RE: Checking thew ststus of a file
- From: <Krishnaprasad_K@xxxxxxxx>
- Date: Thu, 13 Dec 2007 17:05:39 +0530
Lsof displays all the files which are used / opened and its dependent
libraries .You can see all the opened files specific to a user from
the console using lsof -u <username>
Thanks,
Krishnaprasad
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Padiyath
Sreekumaran
Sent: Thursday, December 13, 2007 3:55 PM
To: redhat-list@xxxxxxxxxx
Subject: Checking thew ststus of a file
Hello,
How can I check the status of a file (open, closed) in a shell script?
Is there an example available?
Can I use lsof command and how?
Thanks in advance,
Kumar
------------------------------------------------------------------
Padiyath Sreekumar | Tel: +41.56.310.3643
Paul Scherrer Institut | email: kumar.padiyath@xxxxxx
AIT | Office: WHGA/U132
WHGA/U132 | Fax: +41.56.310.3649
CH-5232 Villigen PSI |
Switzerland |
-----------------------------------------------------------------
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Checking thew ststus of a file
- From: Padiyath Sreekumaran
- Checking thew ststus of a file
- Prev by Date: RE: Control characters getting displayed in log
- Next by Date: Problems using xen 3.1 | bridged network
- Previous by thread: Checking thew ststus of a file
- Next by thread: RE: Checking thew ststus of a file
- Index(es):
Relevant Pages
|