mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 22:56:59 +00:00
Update cheatsheets
This commit is contained in:
25
ulimit
Normal file
25
ulimit
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ulimit
|
||||
|
||||
> Get and set user limits.
|
||||
> More information: <https://manned.org/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`
|
||||
Reference in New Issue
Block a user