I connect to the linux server via putty SSH. I tried to run it as a background process like this:
$ node server.js &
However, after 2.5
I have this function in my shell rc file, based on @Yoichi's answer:
nohup-template () { [[ "$1" = "" ]] && echo "Example usage:\nnohup-template urxvtd" && return 0 nohup "$1" > /dev/null 2>&1 & }
You can use it this way:
nohup-template "command you would execute here"