I am using wget to show html content. In window, it can show the content
In linux, it can not show:
Are there any ways to show all content in Linux
I am using wget to show html content. In window, it can show the content
In linux, it can not show:
Are there any ways to show all content in Linux
wget is typically used to fetch and save files. curl will fetch and display the URL.
$ curl https://unix.stackexchange.com/questions/754090/
<!DOCTYPE html>
<html class="html__responsive " lang="en">
<head>
...
With the && operator, one can chain commands ...
wget https://www.xy.com/report.txt && cat ./report.txt
wget doesn't have functionality to display the downloaded things.
You need to find a program to display what you download, I luckily have no idea what powershell's wget command/alias does, so I can only say some generic things.
You can make wget output the downloaded content on stdout with wget <url> -O -, and that can then be piped to a program to display it. As an example with the url to the first picture in your question:
wget 'https://i.stack.imgur.com/qiMjy.png' -O - | display
(if display is installed, newer distributions might not install it by default)
You say that it's html content you downloaded, so you need something to display html. The html file itself is just text, so it can be displayed with e.g. cat or less, but you might want it rendered (and pictures and other referenced stuff also showed), for that you basically need a browser. I don't know whether any of the major graphical browsers support reading from stdin (but as they can also fetch the html, just open the url in them), I know lynx can read from stdin, but as lynx is text-based it won't show pictures and it also doesn't support ECMA-script (sometimes refered to as javascript - at least it didn't last time I bothered with it)