How to stop a forever process knowing the name
Finally I got it, using a variable:
uid=$(forever list | grep processName.js | cut -c24-27) && forever stop $uid
Finally I got it, using a variable:
uid=$(forever list | grep processName.js | cut -c24-27) && forever stop $uid