Sample Header Ad - 728x90

Is "ulimit -c 0" the same as "ulimit -c unlimited"?

0 votes
1 answer
184 views
Am I correct in assuming the ulimit -c 0 sets the maximum size of core files create to an unlimited (unbound, no-limit) value? I have seen reference to ulimit -c unlimited but help ulimit does not mention 0 nor 'unlimited' in Bash the linux distribution I tried (Rocky Linux 8.10, 9.5, Ubuntu) or even in Bash 5.2.37 running in macOS. Under zsh 5.9 on macOS, run-help ulimit mentions unlimited and hard but not 0.
Asked by PRouleau (273 rep)
Mar 25, 2025, 03:49 PM
Last activity: Mar 25, 2025, 07:37 PM