Create heredoc.sh

Here Documents in Shell SCripting Example
This commit is contained in:
Ankam Ravi Kumar
2018-06-16 17:50:14 +05:30
committed by GitHub
parent 77aaae5de0
commit c75b62699e

17
heredoc.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
#Purpose: Here Document Example
#Version:1.0
#Created Date: Tue Jun 12 22:50:23 IST 2018
#Modified Date:
#WebSite: https://arkit.co.in
#Author: Ankam Ravi Kumar
# START #
ftp -n <<- EOF 2> /dev/null
open ftp.server.com
user ftp ftp
ascii
cd uploadfolder
mput file1 file1 file2
bye
EOF