1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 15:55:26 +02:00
tldr/pages/common/ulimit.md
Pranaov S aa15037ace
ulimit: explicitly specify help ulimit is bash only (#16787)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-06-07 14:39:40 +03:00

25 lines
513 B
Markdown

# ulimit
> Get and set resource limits for user processes.
> It is a shell builtin hence not shell-agnostic.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-ulimit>.
- Get the properties of all the user limits:
`ulimit -a`
- Get hard limit for the number of simultaneously opened files:
`ulimit -H -n`
- Get soft limit for the number of simultaneously opened files:
`ulimit -S -n`
- Set max per-user process limit:
`ulimit -u 30`
- Display help (Bash only):
`help ulimit`