Question: how wget works in linux?
Answer: wget is a free utility for non-interactive download of files from the web. ... 
wget is non-interactive, meaning that it can work in the background, while the user is not logged on, which allows you to start a retrieval and disconnect from the system, letting wget finish the work.