![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The here document << | rahulrathod | Shell Programming and Scripting | 6 | 01-23-2006 12:05 AM |
| Teaching myself Here Document | ericelysia | UNIX for Dummies Questions & Answers | 3 | 10-31-2005 12:33 AM |
| echo with a here-document | vino | Shell Programming and Scripting | 2 | 08-19-2005 09:48 AM |
| How to split a document | gtapia | Shell Programming and Scripting | 2 | 07-15-2004 05:25 PM |
| Help on find a document | merlin | UNIX for Dummies Questions & Answers | 1 | 02-14-2002 08:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
here document not working
I tried doing
Code:
ftp myhost <<HERE username password quit HERE When I do ftp host, I always get prompted for username, and once I type that in I get prompted for password. But when I try doing it from here document it freezes. |
|
||||
|
hi reborg,
yes, I did actually search this forum and found a good answer (using ftp -i -n), so I have managed to get around this. But I am still curious as to why what I did initially did not work. I thought a here document sends input line by line to the command, so I would have expected it to work. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|