Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4088410
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:58:45+00:00 2026-05-20T18:58:45+00:00

Suddenly I lost almost everything on the command line. I can do cd ,

  • 0

Suddenly I lost almost everything on the command line. I can do cd, exit and pwd…nothing else that I tried…no ls, no vi…nothing….

I do have an open terminal that’s still working, but no new ones…as soon as I exit out of the current session, I’m screwed…

I was about to say I’m baffled…but I just noticed that now /etc is symlinked to /etc/private. Don’t remember that being the case before…

I recently upgraded to Snow Leopard…but I’ve rebooted since with no problems… No clue when this came about…

Any ideas on debugging it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:58:45+00:00Added an answer on May 20, 2026 at 6:58 pm

    It sounds like your PATH environment variable may be messed up. You may have messed it up in a .profile, .bashrc, .tcshrc, .login or similar shell startup file. Check using:

    echo $PATH
    

    Then (assuming you are using a bash shell) try setting it with:

    export PATH=/usr/bin:/bin
    

    You could also try typing commands using the full path, e.g. /bin/ls. If you want to make sure that your commands are still there you should be able to use echo /bin/* /usr/bin/*.

    /etc has always been a symbolic link to private/etc on Mac OS X.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suddenly, I'm not able to open the console or anything else related to the
Suddenly compiling any VS2008 native C++ DLL project fails. They have in common that
suddenly we have to save kanji (Japanese) in a couple of columns of two
I suddenly have Run and Search in the menubar of my RCP application. Is
It has suddenly happened that I need to output a couple of strings in
yesterday afternoon Visual Studio 2008 suddenly started taking a really long time to open
We have some standalone devices that will send XML messages to arbitrary processing software
My problem is this: I have a C/C++ app that runs under Linux, and
I am suddenly completely lost with scope of variables in Rails with Mongoid. (Probably
Suddenly I got EXC_BAD_ACCESS on this line: int retVal = UIApplicationMain(argc, argv, nil, nil);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.