I need to create a script in Linux to get from server multiple files. After downloading files started need to close the session but without stopping the download.
How do I do this?
migrated from stackoverflow.com Jan 5 '12 at 2:19
This question came from our site for professional and enthusiast programmers.
If what you mean is to continue downloading files in the background after you exit your login session what you need is nohup.
counting on that you created download-script containing your commands.
You can use the
Alternatively, if you simply need to run a process or script in the background, but don't want to keep a "session" open, consider using:
progname [arguments] &
Any command terminated with