7

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?

1 Answers1

11

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
  • 92,169
  • 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