Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Run process in the background Linux

To detach a process started in the terminal, you can always add & at the end. For example: npm run evaluation &

Or: nohup bash script.bash &

After that you can run "jobs", to see the running jobs for that user.

Otherwise you can use "htop" or "ps -ef |grep bash" to find all bash jobs for instance.

References:

https://www.dev2qa.com/how-to-run-node-js-server-in-background/

https://stackoverflow.com/questions/4018154/how-do-i-run-a-node-js-app-…

https://medium.com/idomongodb/how-to-npm-run-start-at-the-background-%E…

Keywords: service

Last modified
2021-09-30

Tags

  • Script
  • Linux

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.