Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Last active July 23, 2018 02:24
Show Gist options
  • Save yang-zhang/7dcbe563208d42f28d88a328a576bd12 to your computer and use it in GitHub Desktop.
Save yang-zhang/7dcbe563208d42f28d88a328a576bd12 to your computer and use it in GitHub Desktop.
Add destination to commands
tar -xf archive.tar -C /target/directory

wget url -P /path/to/folder

gunzip -c file.gz > /THERE/file

unzip source.zip -d /path/to/folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment