Skip to content

Instantly share code, notes, and snippets.

@walteryu
Created October 8, 2018 19:07
Show Gist options
  • Save walteryu/7b5f235cbbdd87c46a5667afad334d20 to your computer and use it in GitHub Desktop.
Save walteryu/7b5f235cbbdd87c46a5667afad334d20 to your computer and use it in GitHub Desktop.
hw5_p1.sh
#!/bin/bash
# CSCI E63 HW5 - Walter Yu, Fall 2018
# Script commands to complete HW5
# P1 - Compress data file for trasnfer into VM:
tar -zcvf retail-data.tar.gz ../e63-hw4-data-oreilly/data/retail-data
# P1 - Extract data file within VM:
tar -zxvf prog-1-jan-2005.tar.gz -C /tmp
# P1 - Connect to MySQL
mysql -u bikerides_dba -p
use bikerides_db;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment