Last active
December 16, 2015 22:29
-
-
Save shervinshaikh/5507471 to your computer and use it in GitHub Desktop.
Script for submitting project 2 for CS154 from a non-CSIL computer.
This file contains hidden or 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/sh | |
# Script to submit project 2 for CS154 | |
# Written By: Shervin Shaikh | |
# make sure to run this command to allow it to be an executable: chmod 755 submit.sh | |
# then execute the script with: ./submit.sh | |
SERVER="csil.cs.ucsb.edu" | |
USER="your_username" | |
LOCATION="cs154/p2" | |
FILES="functions.c functions.h main.c" | |
scp $FILES $USER@$SERVER:$LOCATION | |
ssh -tY $USER@$SERVER "cd $LOCATION; ~bboe/bin/submit -p CS154_s13:18 $FILES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!