Originally posted by joshf
Another question about nohup:
I gave the command:
Then, I opened another ssh session to view nohup.out as I connected and choose files to download.
That did work, but is there a way to have the output displayed to the screen instead of the file? That would be easier than opening nohup.out after each command I type.
I can tell you an easier way to get all this done provided u know what you have to do after doing an ftp
create a .netrc file with the following text (all in one line)
machine <name of the ftp server/machine> login <login> password <password>
save this file.. make sure u have the file named .netrc
now write the command :
chmod 700 .netrc
now open a new text file (lets call it input.txt) and write all the ftp commands in this file ... e.g.
and now u can straightaway write the command
nohup ftp <name of the ftp server> < input.txt
Check this out and do let me know if it solves ur problem..