GO KALI FREE
Process Commands

nice Linux Command

Runs a command with a specified scheduling priority (niceness value).

What does nice do?

Runs a command with a specified scheduling priority (niceness value).

Syntax

nice -n priority command

Practical example

nice -n 10 tar -czf backup.tar.gz /data

Related Process Commands

jobs

Lists active jobs (background and suspended processes) in the current shell.

renice

Changes the priority (niceness) of an already running process.

fg

Brings a background job to the foreground.

nohup

Runs a command that keeps running even after the terminal session is closed.

bg

Resumes a suspended job in the background.

pgrep

Searches for processes by name and returns their PIDs.