run script in background linux code example
Example 1: linux run task in background
[command] 2> /dev/null &
Example 2: background script linux
$ nohup serve -s build -l 8080 &
Example 3: how to run .sh file in background linux
$ nohup ./my-shell-script.sh &