← Useful Tips
nohup command > out.log 2>&1 &: Keep a command running after the terminal closes
Use nohup command > out.log 2>&1 & to keep a command running after the terminal closes. It cuts friction in remote-server work and long-running jobs.
nohup command > out.log 2>&1 &
Why it helps
Use nohup command > out.log 2>&1 & to keep a command running after the terminal closes. It cuts friction in remote-server work and long-running jobs.
How to use it
- Open the relevant app or terminal.
- Use the shortcut or command above in the relevant context.
- Check the result; for commands that change data, test on a small example first.
People also search for
nohup command > out.log 2>&1 &: Keep a command running after the terminal closesnohup command > out.log 2>&1 &keep a command running after the terminal closeshow to keep a command running after the terminal closesSSH / Server keep a command running after the terminal closes