[HowTo] Connect to internet from command-line as a beginner

What should I do if the wifi needs user-name and password?

Here, SSID means your WiFI friendly name, not the IP address or MAC address or anything. If that consists spaces, use " ".

It should be "\ "?