August 17, 2024
Run a linux command in background with nohup
Send the process into the background and you don't have to worry about the text output cluttering your terminal:
Command
nohup command &
This not only runs the process in background, also generates a log (called nohup.out in the current directory, if that's not possible, your home directory) and if you close/logout the current shell the process is not killed by preventing the child process from receiving the parent signals when killed (i.e. logging out, by SIGHUP to the parent, or closing the current shell)