Re: [SLE] How do I remove a sym link?

From: Randall R Schulz (rschulz_at_sonic.net)
Date: 08/31/04

  • Next message: Chadley Wilson: "Re: [SLE] NFS dog"
    To: suse-linux-e@suse.com
    Date: Mon, 30 Aug 2004 21:13:48 -0700
    
    

    Tom,

    On Monday 30 August 2004 20:53, Tom Nielsen wrote:
    > I've googled, but decided not to spend all night searching.
    >
    > File1 sym'd to file2
    > file2 sym'd to file3
    > file3
    >
    > I want to remove the sym link from file2....how?

    Just like any other file--the "rm" command. When you apply rm to a
    symbolic link, it does not deference the symlink, but rather operates on
    the link itself. The target remains unaffected.

    > --
    > Tom Nielsen

    Randall Schulz

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Chadley Wilson: "Re: [SLE] NFS dog"

    Relevant Pages

    • Re: [SLE] How do I remove a sym link?
      ... but decided not to spend all night searching. ... "If path names a symbolic link, unlink() shall remove the symbolic link ... command is "unlink", ...
      (SuSE)
    • Re: [SLE] How do I remove a sym link?
      ... but decided not to spend all night searching. ... > I want to remove the sym link from file2....how? ... and good with ketchup. ...
      (SuSE)
    • Re: [SLE] How do I remove a sym link?
      ... but decided not to spend all night searching. ... > I want to remove the sym link from file2....how? ... this is a tough one. ... For additional commands send e-mail to suse-linux-e-help@suse.com ...
      (SuSE)
    • Re: [SLE] How do I remove a sym link? ............. MORE
      ... but decided not to spend all night searching. ... > I want to remove the sym link from file2....how? ... CLI Magic: Symbolic links ... Check the headers for your unsubscription address ...
      (SuSE)
    • Re: How to safely delete a Symlink
      ... answers or even hints at the correct answer... ... > I create a sym link like this: ... A symbolic link is a file, point to another file, be it a ... Simon ...
      (comp.unix.bsd.freebsd.misc)