Ubuntu run command in background
Updated: 14th November 2020Tags: terminal comman linux ubuntu
To run some command in background, so you can close terminal, type the following:
nohup command-with-options &
To run some command in background, so you can close terminal, type the following:
nohup command-with-options &
TL DR; To build app on windows to linux 64 type this in powershell
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"; go build main.go