Re: delete a file that found on different machine

From: Anna Seg (segfault_at_removethis.noao.edu)
Date: 06/26/03


Date: Thu, 26 Jun 2003 10:30:56 -0700

Alon wrote:
> Hi,
>
> How can I delete a file that found on different machine?
> Both of the machines have UNIX system,
> And i am programming in C.

You can use ssh w/out password prompting, if you set it up to use public
key authentication. See the man pages for ssh.

[user@machine]$ ssh othermachine rm badfile

-Anna-



Relevant Pages