Files
shell-scripting-tutorial/heredoc.sh
Ankam Ravi Kumar c75b62699e Create heredoc.sh
Here Documents in Shell SCripting Example
2018-06-16 17:50:14 +05:30

18 lines
346 B
Bash

#!/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