• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

nohup Command Options in Linux

by admin

Each process has a parent process that started it. For example, if you execute a command in a bash shell, then that command’s parent process is the bash shell process.

When a parent process is stopped, a hang-up (HUP) signal is sent to all the child processes. This HUP signal is designed to stop the child processes. By default, a child process will stop when sent a HUP signal.

To avoid this, execute the child process with the nohup command:

$ nohup some_command

This technique is typically used when you remotely log in to a system and want to have some command continue to run even if you are disconnected. When you are disconnected, all of the programs you have running are sent HUP signals. Using the nohup command allows this specific process to continue running.

nohup Command Options

nohup command only has 2 options as shown below:

Option Description
–help display this help and exit
–version output version information and exit

Filed Under: Linux

Some more articles you might also be interested in …

  1. sysctl setting for high load and prevent DDoS
  2. pvcreate Fails With Error: “Device /dev/mapper/mpatha Not Found (or Ignored By Filtering).”
  3. How Files/Directories in /tmp gets Removed Automatically in CentOS/RHEL 5,6
  4. Yum Command – RPM Based Package Management Utility
  5. How To Configure NIS (Network Information System) Master and Slave Servers in CentOS/RHEL
  6. How To Disable Ksplice Service on OEL
  7. /proc/cpuinfo file explained
  8. CentOS / RHEL 5, 6 : how to disable NetworkManager
  9. vgextend Command Examples in Linux
  10. How to create a Python Dictionary

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright