Welcome to the Linux Foundation Forum!

wget error

Posts: 12
edited March 2019 in LFS258 Class Forum

Hi

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.

regards.

Wget.GIF 325.1K

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 2,295
    edited March 2019

    Hello,

    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.

    Regards,

  • Hell Fcioanca,

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

    regards,

  • 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

  • Posts: 916

    All I can say is it works for me.:

    1. c8:/tmp>wget https://training.linuxfoundation.org/cm/LFS258/LFS258_V2019-08-12_SOLUTIONS.tar.bz2 --user=LFtraining --password=Penguin2014
    2. --2019-09-09 06:48:01-- https://training.linuxfoundation.org/cm/LFS258/LFS258_V2019-08-12_SOLUTIONS.tar.bz2
    3. Resolving training.linuxfoundation.org (training.linuxfoundation.org)... 151.101.149.5
    4. Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.149.5|:443... connected.
    5. HTTP request sent, awaiting response... 401 Restricted
    6. Authentication selected: Basic realm="Linux Training"
    7. Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.149.5|:443... connected.
    8. HTTP request sent, awaiting response... 200 OK
    9. Length: 12363 (12K) [application/octet-stream]
    10. Saving to: LFS258_V2019-08-12_SOLUTIONS.tar.bz2
    11.  
    12. LFS258_V2019-08-12_SOLUTIONS.tar.bz 100%[==================================================================>] 12.07K --.-KB/s in 0.02s
    13.  
    14. 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.

  • Posts: 2,451
    edited September 2019

    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.

    Regards,
    -Chris

  • Same issue. There is an underscore that is either not copied or missing.
    This link works:
    https://training.linuxfoundation.org/cm/LFS258/LFS258_V2023-02-01_SOLUTIONS.tar.xz
    wget this link.
    I manage to solve this by visiting the link: https://training.linuxfoundation.org/cm/LFS258/
    There you can see all downloadable tarballs.

    Regards,
    eirini

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training