-.\" $OpenBSD: sh.1,v 1.2 1996/06/23 14:21:32 deraadt Exp $
+.\" $OpenBSD: sh.1,v 1.3 1996/09/15 03:41:57 millert Exp $
.\" $NetBSD: sh.1,v 1.15 1995/05/11 21:30:18 christos Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
default action. The trap command has no effect on
signals that were ignored on entry to the shell.
.TP
+ulimit [ -H | -S ] [ -a | -resource [ maximum-use ] ]
+Show or set the current process limits (see getrlimit(2)).
+If ``-a'' is specified, all current limits are shown.
+To specify
+.I hard
+or
+.I soft
+process limits, use the ``-H'' and ``-S'' options respectively
+(by default both soft and hard limits are used).
+To get or set a resource, call it by the first letter.
+For example, to set the max number of processes to 256 one
+would do ``ulimit -p 256''. ``ulimit -p unlimited'' would
+unlimit the number of processes (or set to the maximum allowed).
+If no resource is specified,
+.I file
+size is assumed.
+.TP
umask [ mask ]
Set the value of umask (see umask(2)) to the specified octal value.
If the argument is omitted, the