ulimit [ [ -SHacdfiklmnpqsTtvwx | -N resource  [  limit  ]
... ]

       Set   or  display  resource limits of the shell and
       started by the shell.  The value of limit can be  a
       unit   specified  below  or  one of the values `un-
       removes the limit  on  the  resource,  or   `hard',
       current value of the hard limit on the resource.

       By   default,  only soft limits are manipulated. If
       given use hard limits instead of soft  limits.   If
       given  together  with the -H flag set both hard and

       If no options are used, the file size limit (-f) is

       If limit is omitted the current value of the speci-
       are printed.  When more than one resource value  is
       limit name and unit is printed before each value.

       When  looping  over  multiple  resources, the shell
       diately if it  detects  a  badly  formed  argument.
       fails  to set a limit for some other reason it will
       ing to set the remaining limits.

       Not all the following resources are  supported   on
       Running ulimit -a will show which are supported.

       -a     Lists all of the current resource limits.
       -b      Socket buffer size in bytes (N.B. not kilo-
       -c     512-byte blocks on the size of core dumps.
       -d     Kilobytes on the size of the data segment.
       -f     512-byte blocks on the size of  files  writ-
       -i     The number of pending signals.
       -k     The number of kqueues allocated.
       -l     Kilobytes on the size of locked-in memory.
       -m     Kilobytes on the size of physical memory.
       -n     open file descriptors.
       -p     The number of pseudo-terminals.
       -q     Bytes in POSIX message queues.
       -s     Kilobytes on the size of the stack.
       -T     The number of simultaneous threads available
       -t     CPU seconds to be used.
       -u     The number of processes available to the us-
       -v     Kilobytes on the size of virtual memory.  On
              this refers to  the  limit  called  `address
       -w     Kilobytes on the size of swapped out memory.
       -x     The number of locks on files.

       A  resource  may  also be specified by  integer  in
       resource', where resource corresponds to the  inte-
       the  resource by the operating system.  This may be
       the  limits for resources known to the shell  which
       spond to option letters.  Such limits will be shown
       the output of `ulimit -a'.

       The  number may alternatively be out of  the  range
       piled  into  the shell.  The shell will try to read
       limit anyway, and will  report  an  error  if  this
