UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: neqnChapter 2
Unix Commands
Next: Reference: nl
 

nice

nice [options] command [arguments]

Execute a command and arguments with lower priority (i.e., be "nice" to other users). Also built-in to the C shell, with a different command syntax (see Chapter 5).

Options

-n

Run command with a niceness of n (1-19); default is 10. Higher n means lower priority. A privileged user can raise priority by specifying a negative n (e.g., -5). nice works differently in the C shell (see Chapter 5). +n raises priority, -n lowers it, and 4 is the default.

-n n

Same as -n. Solaris only.


Previous: Reference: neqnUNIX in a Nutshell: System V EditionNext: Reference: nl
Reference: neqnBook IndexReference: nl

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System