Created
October 8, 2018 19:07
-
-
Save walteryu/7b5f235cbbdd87c46a5667afad334d20 to your computer and use it in GitHub Desktop.
hw5_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 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