1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 05:15:50 +02:00
tldr/pages/common/ulimit.md

24 lines
451 B
Markdown

# ulimit
> Get and set resource limits for user processes.
> 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:
`help ulimit`