Install Ulimit On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Ulimit On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

ulimit

Get and set user limits.

Maintainer: Matthias Klose



Section: shells

Install ulimit

  • Debian apt-get install bash Click to copy
  • Ubuntu apt-get install bash Click to copy
  • Alpine OS apk add bash Click to copy
  • Arch Linux pacman -S bash Click to copy
  • Kali Linux apt-get install bash Click to copy
  • CentOS yum install bash Click to copy
  • Fedora dnf install bash Click to copy
  • Raspbian apt-get install bash Click to copy
  • macOS brew install bash Click to copy

Get and set user limits.

How to use ulimit?

Below are few example commands for ulimit that you can use in the terminal.

Get the properties of all the user limits:
ulimit -aClick to copy
Get hard limit for the number of simultaneously opened files:
ulimit -H -nClick to copy
Get soft limit for the number of simultaneously opened files:
ulimit -S -nClick to copy
Set max per-user process limit:
ulimit -u 30Click to copy
Installation of latest ulimit command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.