Re: delete a file that found on different machine

From: Alon (noSpam_at_hotmail.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 17:02:31 +0300

The file system is not mounted.

I want to know if there is a command similar to 'ssh' that allow to delete
a file
on remote computer, or maybe I can use the 'ftp' command someway.

regards,
Alon

"Marc Rochkind" <rochkind@basepath.com> wrote in message
news:oprrdm390bojfyi9@den.news.speakeasy.net...
> On Thu, 26 Jun 2003 16:34:00 +0300, Alon <noSpam@hotmail.com> 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.
> >
> > regards,
> > Alon
> >
> >
> >
> >
>
> Two cases:
>
> 1. There is a path to the file. That is, the file system it's on is
mounted
> with NFS or something equivalent. In that case, you just issue the system
> call (unlink) as though it were local.
>
> 2. It is not mounted. I haven't a clue what to do in this case. Not sure
> how it would even be "found."
>
> --Marc
>



Relevant Pages

  • Re: partition naming - newbie
    ... hardware address that is assigned to each disk, tape, or CD-ROM. ... Using the prtconf command ... In addition to managing these directories, the devfsadm command also ... Berkeley fast file system. ...
    (comp.unix.solaris)
  • Re: Trying to move /usr - Fixed
    ... After thinking about that mv command, ... Note /dev/ad8s1e is an empty partition (a new disk, ... I'll use user and usrdemo as the names of the ... the root of the file system. ...
    (freebsd-questions)
  • RE: serioup problem after running fsck
    ... I'm not an expert in recovery and I'm not sure you could recover at ... > The easiest and first thing is to run fsck again (although I ... Running it once is no guarantee that the file system ... > shutdown command from the command line or the shutdown menu ...
    (RedHat)
  • coreutils-7.3 released [stable]
    ... been a few other interesting fixes and improvements. ... run a command like this: ... sort -m no longer segfaults when its output file is also an input file. ... destination file system with a fundamental block size of 4KiB or greater. ...
    (gnu.announce)
  • Re: Simple questions about building C program
    ... Library/Object system, and not the unix-y IFS, where my files are. ... file system as well as others such as "root" and QOpenSys that behave more like a Unix file system. ... The CRTCMOD command allows LIB/FILE/MEMBER source input file SRCFILE and SRCMBR parameters. ... So one option might be to FTP your script into a database file/member, to enable direct input to a command such as SBMDBJOB or CRTCLPGM. ...
    (comp.sys.ibm.as400.misc)