๐ŸŽ 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

Tmux
A terminal multiplexer that allows running multiple terminal sessions within a single window, with detach/reattach capability.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Nftables
The modern Linux packet filtering framework that replaces iptables with a unified, more efficient rule-processing architecture.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
Logrotate
A utility that manages automatic rotation, compression, and removal of log files to prevent disk space exhaustion.
Find
A powerful command for searching files and directories based on various criteria like name, size, type, and modification time.
View All Linux Terms โ†’