Results 1 to 4 of 4

Thread: rescue usr/bin and /bin

  1. #1

    Default rescue usr/bin and /bin

    Hello,

    I deleted rm.So I can't use rm command now.How can I rescue this.(yes very folly).

    Thanks

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: rescue usr/bin and /bin

    On 2014-06-04 13:16, seniorc wrote:
    >
    > Hello,
    >
    > I deleted rm.So I can't use rm command now.How can I rescue this.(yes
    > very folly).


    openSUSE version, please?

    Don't reboot your machine, it would break it. You have to reinstall
    "coreutils".


    If it is only the 'rm' binary which was removed, you can just download
    the coreutils rpm and extract the rm binary.

    Code:
    /bin/rm  -> /usr/bin/rm
    /usr/bin/rm
    You can extract the binary, for instance, using 'mc' to open the rpm.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,779

    Default Re: rescue usr/bin and /bin

    Please be precise.

    What is your openSUSE version?

    Did you remove /bin/rm and /usr/bin/rm and nothing more?
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,853
    Blog Entries
    2

    Default Re: rescue usr/bin and /bin

    I wouldn't go through the trouble to extract rm.

    The following command should not only re-install rm but also make sure the other coreutils components are latest
    Code:
    zypper in -f coreutils
    HTH,
    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •