mirror of https://github.com/CrimsonTome/tldr.git
20 lines
308 B
Markdown
20 lines
308 B
Markdown
|
# ulimit
|
||
|
|
||
|
> Get and set user limits
|
||
|
|
||
|
- 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`
|