Forrest logo
back to context overview

wget

List of commands for wget:

  • wget:ai:0b2c3 how do i mirror a website
    $ wget -r -p -k -E http://example.com
    try on your machine
    explain this command
  • wget:ai:2f9fa Download the Git source code package using wget
    $ wget https://github.com/git/git/releases/download/v2.33.0/git-2.33.0.tar.gz
    try on your machine
    explain this command
  • wget:ai:3f686 How to install plesk on my iphone?
    $ wget https://installer.plesk.com/plesk-installer && chmod +x plesk-installer && ./plesk-installer
    try on your machine
    explain this command
  • wget:ai:aeaa9 Retrieve the height of Linus Torvalds from their Wikipedia page
    $ wget -qO- https://en.wikipedia.org/wiki/Linus_Torvalds | grep -A 1 'Full name' | tail -n 1 | awk '{print $3}'
    try on your machine
    explain this command
  • wget:ai:e6a86 https://www.google.com/search?q=%28ext%3Adoc+%7C+ext%3Adocx+%7C+ext%3Aodt+%7C+ext%3Apdf+%7C+ext%3Artf+%7C+ext%3Asxw+%7C+ext%3Apsw+%7C+ext%3Appt+%7C+ext%3Apptx+%7C+ext%3Apps+%7C+ext%3Acsv+%7C+ext%3Atxt+%7C+ext%3Axls%29+intext%3A%22447919823605%22+%7C+intext%3A%22%2B447919823605%22+%7C+intext%3A%2207919823605%22 decrypt this link
    $ wget -r -A doc,docx,odt,pdf,rtf,sxw,psw,ppt,pptx,pps,csv,txt,xls -l 1 -nd -e robots=off -A doc,docx,odt,pdf,rtf,sxw,psw,ppt,pptx,pps,csv,txt,xls -A "447919823605" -A "+447919823605" -A "07919823605" https://www.google.com/
    try on your machine
    explain this command
  • wget:tldr:09b2a wget: Download all listed files within a directory and its sub-directories (does not download embedded page elements).
    $ wget --mirror --no-parent ${https:--example-com-somepath-}
    try on your machine
    explain this command
  • wget:tldr:0a635 wget: Download a single web page and all its resources with 3-second intervals between requests (scripts, stylesheets, images, etc.).
    $ wget --page-requisites --convert-links --wait=3 ${https:--example-com-somepage-html}
    try on your machine
    explain this command
  • wget:tldr:3ee3b wget: Download the contents of a URL to a file (named "foo" in this case).
    $ wget ${https:--example-com-foo}
    try on your machine
    explain this command
  • wget:tldr:67f18 wget: Limit the download speed and the number of connection retries.
    $ wget --limit-rate=${300k} --tries=${100} ${https:--example-com-somepath-}
    try on your machine
    explain this command
  • wget:tldr:71862 wget: Download the contents of a URL to a file (named "bar" in this case).
    $ wget --output-document ${bar} ${https:--example-com-foo}
    try on your machine
    explain this command
  • wget:tldr:b2ec3 wget: Download all URLs stored in a text file to a specific directory.
    $ wget --directory-prefix ${path-to-directory} --input-file ${URLs-txt}
    try on your machine
    explain this command
  • wget:tldr:b5cdf wget: Continue an incomplete download.
    $ wget --continue ${https:--example-com}
    try on your machine
    explain this command
  • wget:tldr:d13b9 wget: Download a file from an HTTP server using Basic Auth (also works for FTP).
    $ wget --user=${username} --password=${password} ${https:--example-com}
    try on your machine
    explain this command
back to context overview