nohup
Allows for a process to live when the terminal gets killed. More information: <https://www.gnu.org/software/coreutils/nohup>.
Install
- All systems
-
curl cmd.cat/nohup.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install coreutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/nohup nohuppowered by Commando
Allows for a process to live when the terminal gets killed. More information: <https://www.gnu.org/software/coreutils/nohup>.
-
Run a process that can live beyond the terminal:
nohup command argument1 argument2 ... -
Launch `nohup` in background mode:
nohup command argument1 argument2 ... & -
Run a shell script that can live beyond the terminal:
nohup path/to/script.sh & -
Run a process and write the output to a specific file:
nohup command argument1 argument2 ... > path/to/output_file &
© tl;dr; authors and contributors