6

I am trying to install the nohup command. When I run sudo apt-get install nohup I get:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nohup

What is the issue here?

An Ignorant Wanderer
  • 767
  • 3
  • 12
  • 27

1 Answers1

10

There is no nohup package and you don't need to install it.

This command is provided by coreutils package as you can see by

dpkg -S /usr/bin/nohup

This package should be installed by default.

Pilot6
  • 88,764
  • 91
  • 205
  • 313
  • 1
    Oh I see. I had the command in a script and I was getting `script.trimmo.sh: 1: ’nohup: not found` so I assumed nohup was not installed but looking more carefully I noticed that it's the ’ that's causing the issue. Thanks – An Ignorant Wanderer Jun 05 '20 at 15:13