Services and System Control

ulimit

Shows or changes shell resource limits.

ulimit controls resource limits for the current shell and child processes, such as open files, process count, and memory limits.

Syntax
ulimit [options] [limit]

Arguments explained

  • Options adjust output or behavior.
  • Arguments name the files, services, hosts, or values the command should work with.

Common examples

Show all limits
ulimit -a

Prints current shell resource limits.

Show open file limit
ulimit -n

Displays the maximum number of open file descriptors.

ulimit Command
FieldDetails
Commandulimit
CategoryServices and System Control
Primary useShows or changes shell resource limits.
Syntaxulimit [options] [limit]