csh(1)

csh(1)

coredumpsize

Size of the largest core dump that is created

cputime

Maximum number of CPU seconds to be used by each process

datasize

Maximum growth of the data region allowed beyond the end of the

 

program text

descriptors

Maximum number of open ®les for each process

filesize

Largest single ®le that can be created

memoryuse

Maximum size to which a process's resident set size can grow

stacksize

Maximum size of the automatically extended stack region

The maximum_use argument can be speci®ed as a ¯oating-point or integer number followed by a scale factor: k or kilobytes (1024 bytes), m or megabytes, or b or blocks (the units used by the ulimit system call). For both resource names and scale factors, unambiguous pre®xes of the names can be used. ®lesize can be lowered by an instance of csh, but can only be raised by an instance whose effective user ID is root. For more information, refer to the documentation for the ulimit system call.

login Terminates a login shell, replacing it with an instance of /usr/bin/login. This is one way to log off, included for compatibility with sh(1).

logout

Terminates a login shell. Especially useful if ignoreeof is set. A similar function, bye, which works for sessions that are not login shells, is provided for historical reasons. Its use is not recommended because it is not part of the standard BSD csh and may not be supported in future releases.

newgrp

 

Changes the group identi®cation of the caller; for details see newgrp(1). A new shell is exe-

 

cuted by newgrp so that the current shell environment is lost.

nice

+number

 

 

nice

 

 

nice command

 

 

nice

+number command

 

 

 

The ®rst form sets the nice (run command priority) for this shell to 4 (the default). The

 

second form sets the priority to the given number. The ®nal two forms run command at

 

priority 4 and number respectively. The user with appropriate privileges can raise the prior-

 

ity by specifying negative niceness using nice -number ...

command is always executed in

 

a sub-shell, and restrictions placed on commands in simple

if statements apply. See also

 

nice(1).

 

 

nohup

[ command ]

 

 

 

Without an argument, nohup can be used in shell scripts to cause hangups to be ignored for

 

the remainder of the script. With an argument, causes the speci®ed command to be run with

 

hangups ignored. All processes executed in the background with & are effectively nohuped

 

as described under Jobs in the COMMANDS section.

 

notify [ job ... ]

 

 

 

Causes the shell to notify the user asynchronously when the status of the current (job not

 

speci®ed) or speci®ed jobs changes; normally noti®cation is presented before a prompt. This

 

is automatic if the shell variable notify is set.

 

onintr [-] [ label ]

 

 

 

Controls the action of the shell on interrupts. With no arguments, onintr restores the default

 

action of the shell on interrupts, which action is to terminate shell scripts or return to the ter-

 

minal command input level. If

- is speci®ed, all interrupts are ignored. If a label is given,

 

the shell executes a goto label when an interrupt is received or a child process terminates

 

because it was interrupted.

 

 

 

If the shell is running in the background and interrupts are being ignored, onintr has no

 

effect; interrupts continue to be ignored by the shell and all invoked commands.

popd

[ +n ]

 

 

 

Pops the directory stack, returning to the new top directory. With an argument, discards the

 

n th entry in the stack. The elements of the directory stack are numbered from 0 starting at

HP-UX Release 11i: December 2000

− 5 −

Section 1133

c