IPFS get start question

I’m working through the “getting started” tutorial to use IPFS locally - windows 10 professional 64 bits. I’m a bit confused about this part:

"And, you should be able to give the network objects. Try adding one, and then viewing it in your favorite browser. In this example, we are using curl as our browser, but you can open the IPFS URL in other browsers as well:

hash=echo "I <3 IPFS -$(whoami)" | ipfs add -q
curl “https://ipfs.io/ipfs/$hash
I <3 IPFS -"

what does this part of commands mean? I tried them in command terminal but it gave me errors.

hash=echo "I <3 IPFS -$(whoami)" | ipfs add -q
curl “https://ipfs.io/ipfs/$hash
I <3 IPFS -"

The first line, I assume, should be: hash=$(echo "I <3 IPFS -$(whoami)" | ipfs add -q)

Tested, in this case with id -un instead of whoami on macOS, and everything’s fine:

snap

The tutorials in the dweb primer might be a better place to start https://dweb-primer.ipfs.io

Those commands don’t work on Windows. Try this:
echo "I <3 IPFS -"%username%" | ipfs add -q | set /p hash start /b "" firefox "https://ipfs.io/ipfs/%hash%"
Replace firefox with chrome if you’re using Google Chrome.