Welcome to the new Linux Foundation Forum!

wget error

KashifAhsanKashifAhsan Posts: 12
edited March 16 in LFS258 Class Forum


I am unable to get results from below command, screenshot is attached.

wget https://training.linuxfoundation.org/cm/LFS258/LFS258 V2019-02-19 SOLUTIONS.tar.bz2 n
--user=xxxxxxxx --password=xxxxxxxxx

would anyone please guide.


Wget.GIF 325.1K


  • fcioancafcioanca Posts: 321
    edited March 16


    Did you type the command or use copy and paste? There may be some issues pasting from a PDF. One issue is single quotes become back quotes. The other issue, which I think you are seeing, is that the underscores don't paste. Make sure they are in the pasted command.

    If you can share the errors you are seeing it would also help determine your issues.


  • KashifAhsanKashifAhsan Posts: 12

    Hell Fcioanca,

    I typed and its working. Copy paste was not working. Thanks.


  • I couldn't get this to work - and I didn't copy/paste...got the error: cannot very training.linuxfoundation.orgs's certificate... Please help

  • coopcoop Posts: 307

    All I can say is it works for me.:

    c8:/tmp>wget https://training.linuxfoundation.org/cm/LFS258/LFS258_V2019-08-12_SOLUTIONS.tar.bz2 --user=LFtraining --password=Penguin2014
    --2019-09-09 06:48:01--  https://training.linuxfoundation.org/cm/LFS258/LFS258_V2019-08-12_SOLUTIONS.tar.bz2
    Resolving training.linuxfoundation.org (training.linuxfoundation.org)...
    Connecting to training.linuxfoundation.org (training.linuxfoundation.org)||:443... connected.
    HTTP request sent, awaiting response... 401 Restricted
    Authentication selected: Basic realm="Linux Training"
    Connecting to training.linuxfoundation.org (training.linuxfoundation.org)||:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 12363 (12K) [application/octet-stream]
    Saving to: ‘LFS258_V2019-08-12_SOLUTIONS.tar.bz2’
    LFS258_V2019-08-12_SOLUTIONS.tar.bz 100%[==================================================================>]  12.07K  --.-KB/s    in 0.02s   
    2019-09-09 06:48:01 (556 KB/s) - ‘LFS258_V2019-08-12_SOLUTIONS.tar.bz2’ saved [12363/12363]

    Please note in the course book there is a \ at the end of the first line as it is broken into two lines. I did it in one line.

  • chrispokornichrispokorni Posts: 302
    edited September 13

    Hi @KashifAhsan , @AnissaWilliams ,

    Please read carefully the lab exercises in their entirety. They may contain notes and helpful tips to help you avoid issues or to guide you towards fixing common errors.

    In this particular exercise there is a Note immediately after the wget command, stating the following:

    Note: depending on your pdf viewer, if you are cutting and pasting the above instructions, the underscores may disappear and be replaced by spaces, so you may have to edit the command line by hand!

    Based on this note, when you copy/pasted the command from the pdf you experienced the expected error. However, typing the command manually worked.


Sign In or Register to comment.