Friday, September 29, 2023
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4429  / 1 Year ago, sun, april 17, 2022, 7:17:17

I am trying to download Hadoop from here:
It contains the file hadoop-2.9.2.tar.gz which I am trying to access.
The command I am trying to use is along the lines of

wget  -P/home/ubuntu/Desktop/""

I know the target part at the end is the issue but I am unsure how to fix it.

More From » command-line


The command and link you are using seems to contain errors. The actual format of wget is:

wget [option] [URL]

You removed spaces (which obviously matters) and added target= (which isn't there in actual URL). So, it must be something like:

wget -P /home/ubuntu/Desktop/ ""

I have tested the above command and at my end it is working fine and successfully downloaded hadoop-2.9.2.tar.gz in the Desktop directory.

[#6646] Monday, April 18, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 424
Total Questions: 103
Total Answers: 101

Location: Djibouti
Member since Sun, Feb 27, 2022
2 Years ago