From: Ivan on
Hi all,

is there a way to close files left open by other programs (which were not
closed properly) from the shell (tcsh)?

Thanks
Ivan


From: viza on
On Tue, 17 Jun 2008 11:03:50 +0100, Ivan wrote:

> is there a way to close files left open by other programs (which were
> not closed properly) from the shell (tcsh)?

All open files in process are automatically closed when the process
terminates.
From: franzi on
On 17 Giu, 13:43, viza <tom.v...(a)gmil.com> wrote:
> On Tue, 17 Jun 2008 11:03:50 +0100, Ivan wrote:
> > is there a way to close files left open by other programs (which were
> > not closed properly) from the shell (tcsh)?
>
> All open files in process are automatically closed when the process
> terminates.

lsof openfiles,kill close files
From: Tonagon on
On Jun 17, 6:03 am, "Ivan" <idipr...(a)hotmail.com> wrote:
> Hi all,
>
> is there a way to close files left open by other programs (which were not
> closed properly) from the shell (tcsh)?
>
> Thanks
> Ivan

It is usually not much of an issue in Unix (as compared to Windows) as
most files can be accessed by multiple users and processes without any
errors.
From: James Kanze on
On Jun 18, 6:24 pm, Tonagon <tony.robe...(a)marriott.com> wrote:
> On Jun 17, 6:03 am, "Ivan" <idipr...(a)hotmail.com> wrote:
> > is there a way to close files left open by other programs
> > (which were not closed properly) from the shell (tcsh)?

> It is usually not much of an issue in Unix (as compared to
> Windows) as most files can be accessed by multiple users and
> processes without any errors.

It's not normally a problem on any OS. When the process
terminates, the OS automatically closes all of the files it had
open.

--
James Kanze (GABI Software) email:james.kanze(a)gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34