Skip to content

Instantly share code, notes, and snippets.

@markus2120
Created May 16, 2019 16:26
Show Gist options
  • Save markus2120/0717148c61b8c78d81d11d0acd45f94b to your computer and use it in GitHub Desktop.
Save markus2120/0717148c61b8c78d81d11d0acd45f94b to your computer and use it in GitHub Desktop.
default useragent of wget
wget -d http://www.google.com -O/dev/null 2>&1 |grep ^User-Agent
#User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/70.0.3538.77 Chrome/70.0.3538.77
#User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/70.0.3538.77 Chrome/70.0.3538.77
#Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
wget -d --user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36 http://www.google.com -O/dev/null 2>&1 |grep ^User-Agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment