initial commit

This commit is contained in:
Fabio Scotto di Santolo
2020-07-28 19:28:25 +02:00
commit 4cc88d2f6e
245 changed files with 22820 additions and 0 deletions

26
chapter6/tst_ftp.ksh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/ksh
#
# SCRIPT: tst_ftp.ksh
# AUTHOR: Randy Michael
# DATE: 6/12/2007
# REV: 1.1.A
# PLATOFRM: Not platform dependent
#
# PURPOSE: This shell script is a simple demostration of
# using a here document in a shell script to automate
# an FTP file transfer.
#
# Connect to the remote machine and begin a here document.
ftp -i -v -n wilma <<END_FTP
user randy mypassword
binary
lcd /scripts/download
cd /scripts
get auto_ftp_xfer.ksh
bye
END_FTP