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
# Login to Sunfire | |
ssh [email protected] | |
# Copy a local file to Sunfire | |
scp some_file.txt [email protected]:/home/e/e0123456/ | |
# Copy a local directory to Sunfire | |
scp -r ./some_directory [email protected]:/home/e/e0123456/ | |
# Convert PDF to PS file |
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
# Option defaults | |
OPT="value" | |
# getopts string | |
# This string needs to be updated with the single character options (e.g. -f) | |
opts="fvo:" | |
# Gets the command name without path | |
cmd(){ echo `basename $0`; } |