Created
October 8, 2018 15:20
-
-
Save walteryu/fe3b098f931d5212e86a2bc288e89af2 to your computer and use it in GitHub Desktop.
hw4_p1.sh
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
#!/bin/bash | |
# CSCI E63 HW4 - Walter Yu, Fall 2018 | |
# Script commands to complete HW4 | |
# 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 retail_dba -p | |
use retail_db; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment