nohup perl scipt.pl &
should put the script in background and keep it running after the SSH session is closed.
should put the script in background and keep it running after the SSH session is closed.
|
Ubuntu
SSH - Problem with Command Line |
(Oct 27, 2014 03:39 PM)GamingManiac Wrote: Install screen (Not sure on your distro) Using screen for this purpose isn't the best way to do it. You can use pre installed tools such as, nohup, fg, bg instead. |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| by ReplaceNov 10, 2025 09:50 PM | 4 | 235 |
Nov 10, 2025 09:50 PM Last Post: Replace |
| by EtheriJan 16, 2025 10:22 AM | 5 | 417 |
Jan 16, 2025 10:22 AM Last Post: Etheri |
| by Ki11MachJan 4, 2019 07:12 PM | 2 | 127 |
Jan 4, 2019 07:12 PM Last Post: Ki11Mach |