![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Can someone explain to me how a here doc works.
I thought it was something like this <<EOF command command command EOF What I am trying to do is put a ftp commands into my shell script, and I've been told that I need to use a here doc for it. Can anybody shed some light on this please. |
|
||||
|
Quote:
Everything between these 2 delimiters is send as input to the process (Here it's ftp). |
|
||||
|
Re here doc
Nice one thanks for the info.
Just one little extra question. If I'm using FTP, and I want to sign in as another user other than myself with a password, does it work the same, or do I have to do something else.. Or is that when the .netrc file comes in so I don't need a password.. |
|
||||
|
Re: Re here doc
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|