This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql() { | |
# REMOTE source this script | |
# | |
# . <(curl -s https://gist.githubusercontent.com/krisrice/fec43fd9f53e4286e5cc360b554e3c0f/raw/62ec382d7511c7cc44703a9a2f75a4a7f233efe2/sqlcl.sh) | |
# Set the stage directory | |
STAGE_DIR=/tmp | |
# Check whether internet connection exists | |
if ping -c 1 -t 3 download.oracle.com > /dev/null; then |