Skip to main content
GrN.dk

Main navigation

  • Articles
  • 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

 

  • Unsupported Theme Contracts Made WordPress 6.9.3 a Paid Troubleshooting Story
  • WordPress Playground Made Faster Reproduction Easier, but Plugin and Hosting Bugs Are Still Paid Troubleshooting
  • Drupal CMS 2.0 Makes Marketing-Site Rebuilds Faster, but Canvas, Recipes, and Governance Are Still Paid Work
  • Public Staging URLs and Admin Panels Are Still an Ops Leak, and Cloudflare Access Is a Paid Cleanup Job
  • WordPress 6.8 Password Hashing Makes Legacy Login Bridges a Paid Troubleshooting Problem
RSS feed

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