Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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


$ ulimit -s
$ sudo ulimit -s 16384
$ ulimit -s

Why does ulimit disrespect me in such a barbaric way?

Lion, by the way.

share|improve this question
You'd have the same issue with cd. – David Schwartz Mar 2 '12 at 11:15
I would double up vote that question if I could, it made me chuckle. – Tom H Mar 5 '12 at 20:06
up vote 10 down vote accepted

ulimit is shell/process specific. Skip the sudo.

$ ulimit -s
$ ulimit -s 16384
$ ulimit -s
share|improve this answer
I'm surprised sudo didn't give an error when passed ulimit; usually it needs an external binary, but ulimit is a shell builtin. – amphetamachine Jun 5 '12 at 18:50
@amphetamachine Check out which ulimit. Nothing surprising about it. – Daniel Beck Jun 5 '12 at 19:23

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.