When I use nohup I see it automatically "ignoring input and appending output to nohup.out". & is used to tell OS to run the program in background. Then why doesn't nohup imply &?

1 Answer 1


Because the shell does not know or care what nohup is. It just knows you said to run X, and wait for it to finish, so that is what it does.

  • So & is for shell and nohup is not?
    – Michael Ma
    Mar 22, 2017 at 4:05
  • @MichaelMa, yes; nohup is a program, and the & is a signal to the shell.
    – psusi
    Mar 28, 2017 at 23:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .