🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Beginner

What is Nohup?

A command that runs a process immune to hangup signals, allowing it to continue after the terminal session ends.

Nohup (no hang up) prevents a process from receiving the SIGHUP signal when the terminal closes. Usage: nohup long-running-command &. Output is redirected to nohup.out by default.

Alternatives include screen, tmux (more feature-rich terminal multiplexers), systemd services (for production), and disown (detach already-running processes). Nohup is the simplest option for quick background tasks.

Related Terms

Chroot
A mechanism that changes the apparent root directory for a process and its children, creating an isolated filesystem view.
RAID
Redundant Array of Independent Disks — a technology combining multiple physical drives into a single unit for performance, redundancy, or both.
Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Kernel
The core component of an operating system that manages hardware resources and provides services to software.
Namespace
A Linux kernel feature that provides process isolation by creating separate instances of global system resources.
View All Linux Terms →