[HowTo] Run Your Script At Background Process On Ubuntu

Ubuntu Logo

There are lots of scripts built by Linux users and communities. And some of them are really useful. And most of the time I use wget and rsync for downloading and backing up my websites. The characteristic of the Linux shell is that when you close it the session of the login also closes. So if you are running a script and then you have an internet disconnect or anything that makes you disconnect from the server, the process will stop as the session ends.

To keep running the script you need to run it at background process. To run your script at background process is really easy; you just need to add ‘&’ at the end of your command.

For example:

wget -c http://www.ivankristianto.com/something.zip &

Is that easy right?