Skip to content

Instantly share code, notes, and snippets.

@allbinmani
Created February 21, 2016 06:44
Show Gist options
  • Save allbinmani/4f5efc82355329d59769 to your computer and use it in GitHub Desktop.
Save allbinmani/4f5efc82355329d59769 to your computer and use it in GitHub Desktop.
urlencode using curl in bash
curl -Gso /dev/null -w %{url_effective} --data-urlencode @- "" | cut -c 3-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment