RE: Checking thew ststus of a file
- From: "Geofrey Rainey" <Geofrey.Rainey@xxxxxxxxxx>
- Date: Fri, 14 Dec 2007 08:16:01 +1300
Check the command "fuser".
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Padiyath
Sreekumaran
Sent: Thursday, 13 December 2007 11:25 p.m.
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
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz
==========================================================
CAUTION: This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s). This information
is not to be used or stored by any other person and/or organisation.
--
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: Problems using xen 3.1 | bridged network
- Next by Date: RE: script problem
- Previous by thread: RE: Checking thew ststus of a file
- Next by thread: Control characters getting displayed in log
- Index(es):
Relevant Pages
|
|