Category Script

SCP and Pass Variable in Bash Script

#!/bin/bash read -p ‘Enter the Files to be Send to Remote Host: ‘ files destination_directory=’/home/oracle’ scp -i /Users/shadab/wha.pem $files oracle@192.168.1.200:$destination_directory…