Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mac 10.4.8 /usr/bin

  1. Nov 27, 2006 #1

    0rthodontist

    User Avatar
    Science Advisor

    Through an incrediby boneheaded mistake, I have deleted my /usr/bin directory on my MacBook. Fortunately it only had a small number of programs that weren't there by default. Also, most of the GUI seems to run just fine without the bin directory, and the computer boots. But I do not know how to recover the directory. My best guess at this point is to solicit people I know who use macs to give me their /usr/bin directories. Worst case, I could reinstall the whole OS. But before I try that, is there any other way that I can get this directory?
     
  2. jcsd
  3. Nov 27, 2006 #2

    jtbell

    User Avatar

    Staff: Mentor

    If you have enough disk space, or a spare disk, you can create a new partition and install a fresh copy of the OS onto it, then try to copy /usr/bin from it. But watch out for links! An ls -l on mine shows a bunch of symlinks which you'd probably have to recreate by hand. And then you'd have to figure out if there are any hard links, and what they link to, and recreate those, too.
     
  4. Nov 29, 2006 #3
    I think your best bet may be to try and ether partition your drive, or find an external drive and do a fresh system install, and see if you can salvage that /usr/bin you can maybe then se a program such as OnyX to rebuild the system links. I'd be happy to assist you in anyway, the ls command form my /usr bin yields a list of files much too long to post here, otherwise i'd show you what mine contains. But if you need me to try and copy mine, i'd be happy to help, I have a macbook with OS X.4.8
     
  5. Nov 29, 2006 #4

    0rthodontist

    User Avatar
    Science Advisor

    Well, thanks for the offer/information, but I ended up just reinstalling the operating system. It was a nuisance but it's back to normal.
     
  6. Nov 29, 2006 #5
    As they say.. dont use the superuser account :wink:

    You didnt sudo delete that dir did you?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Mac 10.4.8 /usr/bin
  1. Targus & Mac (Replies: 2)

  2. Mac or windows? (Replies: 30)

  3. Recycle Bin (Replies: 5)

  4. Defragging a mac (Replies: 3)

  5. Mac or PC? (Replies: 11)

Loading...