๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Sed
A stream editor for filtering and transforming text, commonly used for find-and-replace operations in files.
Symbolic Link
A special file that acts as a shortcut pointing to another file or directory in the filesystem.
Tar
A utility for creating and extracting archive files that combine multiple files and directories into a single file.
LVM (Logical Volume Manager)
A storage management framework that provides flexible disk management through abstract layers of physical and logical volumes.
SELinux
Security-Enhanced Linux โ€” a mandatory access control system that confines programs to minimum required privileges beyond standard file permissions.
Rsync
A fast, versatile file synchronization tool that efficiently transfers and syncs files between local and remote systems.
View All Linux Terms โ†’