Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use the uptime command on OS X, this error is printed:

$ uptime
uptime: /dev/ttys003: No such file or directory
20:57  up 36 days, 22:10, 3 users, load averages: 1.77 1.37 1.75

By running the who command, I see that there is another terminal logged in -- but I don't have any other terminals or SSH sessions.

$ who
Kevin    console  Mar 10 17:49 
Kevin    ttys000  Mar 14 17:45 
kevin    ttys003  Mar 14 20:59

This is kind of annoying. How do I get rid of the "No such file" message?

share|improve this question
This might make a better resource if you explain what you (or the person who doesn't know yet) doesn't "get". What's the problem to be solved here basically? – bmike Mar 15 '13 at 17:23

Terminals are numbered sequentially. The first terminal opened was 000, so I opened 3 more so that the 003 number would be used. I closed all extra terminals and uptime worked without error again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.