linux run sh file in background code example Example: how to run .sh file in background linux $ nohup ./my-shell-script.sh &