I have a command that uploads files using git to a remote server from the Linux shell and it will take many hours to finish.
How can I put that running program in background? So that I can still work on shell and that process also gets completed?
I have a command that uploads files using git to a remote server from the Linux shell and it will take many hours to finish.
How can I put that running program in background? So that I can still work on shell and that process also gets completed?
CTRL+Z then use the command
bg
to put the process in the background.EDIT
To start a process where you can even kill the terminal and it still carries on running
e.g.
To just ignore the output (not very wise) change the filename to
/dev/null
To get the error message set to a different file change the
&1
to a filename.