5

sftp autologin is working but ...

view full story
linux-howto

http://www.unix.com – Dears, I am new to linux scripting and I was look for a way to auto login to a server using sftp to download a file. I found one and it is working fine. But i don't know the meaning of <<EOF in the code. Any one explain it to me: Code: #!/bin/sh  HOST=yourservername  USER=yourusername PASS=yourpassword  echo "sftping file ..."  lftp -u ${USER},${PASS} sftp://${HOST} <<EOF cd /tmp get tmpfile bye EOF  echo "done" (HowTos)