summaryrefslogtreecommitdiffstats
path: root/bin/sh/builtins
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-10-19 18:42:12 +0000
committerjoerg <joerg@FreeBSD.org>1995-10-19 18:42:12 +0000
commit944d72963926679a269cec39063fe921fdfb73ff (patch)
tree34fc9c6cecb8198ab3b89983e080bd34b2203ea9 /bin/sh/builtins
parent6d13f9a708f62766aa05501fc6b9b931ff1e726f (diff)
downloadFreeBSD-src-944d72963926679a269cec39063fe921fdfb73ff.zip
FreeBSD-src-944d72963926679a269cec39063fe921fdfb73ff.tar.gz
Implement the "ulimit" builtin. This is the analogon to csh's "limit"
command and badly needed in sh(1) for everybody who wants to modify the system-wide limits from inside /etc/rc. The options are similar to other system's implemantations of this command, with the FreeBSD additions for -m (memoryuse) and -p (max processes) that are not available on other systems.
Diffstat (limited to 'bin/sh/builtins')
-rwxr-xr-xbin/sh/builtins3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/builtins b/bin/sh/builtins
index 9624718..a0b0f8f 100755
--- a/bin/sh/builtins
+++ b/bin/sh/builtins
@@ -35,7 +35,7 @@
# SUCH DAMAGE.
#
# @(#)builtins 8.1 (Berkeley) 5/31/93
-# $Id$
+# $Id: builtins,v 1.2 1994/09/24 02:57:23 davidg Exp $
#
# This file lists all the builtin commands. The first column is the name
@@ -83,6 +83,7 @@ setvarcmd setvar
shiftcmd shift
trapcmd trap
truecmd : true
+ulimitcmd ulimit
umaskcmd umask
unaliascmd unalias
unsetcmd unset
OpenPOWER on IntegriCloud