My notepad

Chris' IT notes…

Skip to content
  • Home
  • Here are my notes…

Execute Linux command and kill the parent terminal without killing the process

This can be achieved using the command nohup

nohup <command> <args> ><filename> 2>&1 &

e.g.
 nohup /usr/bin/terminator -m -T 'main_terminal' -l My_Layout > /dev/null 2>&1 &

Source: http://stackoverflow.com/questions/13676457/how-can-i-put-the-current-running-linux-process-in-background

This entry was posted in Linux, Scripting and tagged bash, nohup on February 16, 2017 by thtieig.

Post navigation

← Rsync – exclude Fail2ban notes →

My notes… organised a bit

  • Cloud (33)
  • Containers (3)
  • Linux (180)
  • Mac (22)
  • Networking (17)
  • Scripting (53)
  • Virtualisation (8)
  • Windows (3)

Tags

  • apache
  • api
  • authentication
  • automation
  • backup
  • bash
  • basic
  • centos
  • centos7
  • cloud
  • command line
  • debian
  • fail2ban
  • innodb
  • linux
  • lvm
  • mac
  • monitoring
  • mysql
  • nc
  • nfs
  • notes
  • nova-agent
  • openstack
  • php
  • php-fpm
  • rackspace
  • raspberry pi
  • redhat
  • redirect
  • rsync
  • script
  • server
  • shortcut
  • ssh
  • ssl
  • test
  • troubleshooting
  • ubuntu
  • varnish
  • vim
  • vm
  • VMware
  • windows
  • wordpress
Proudly powered by WordPress