Quote:
Originally posted by joshf
Another question about nohup:
I gave the command:
nohup ftp
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
Step 1
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
ok..
now open a new text file (lets call it input.txt) and write all the ftp commands in this file ... e.g.
bin
cd test1
mget dummy.zip
bye
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..
Cheers
Vijayant
