Last active
October 23, 2018 04:39
-
-
Save binhp/5e978eaa6af86e35ea9f6d3ee23eca45 to your computer and use it in GitHub Desktop.
Common Bash Commands as Util Functions
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
## wget *.tar.gz to stdout and g-unzip | |
function wgetgz(){ | |
wget -q -O - $1 | tar -zxv --directory "${2:.}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment