If the wireless network you're connecting to is open, it's:
$ ip link set wlan0 up
$ iwconfig wlan0 essid "network"
and assuming you're using DHCP:
$ dhcpcd wlan0
and then test the connection:
$ ping -c 3 google.com
Replace wlan0 with your wireless interface, and "network" with the ESSID of your network.
For a desktop (ie, non-server) setup, it's considered (very) bad practice to use the root account for tasks that don't need it. The question is badly-worded but correct in intent.
I'd recommend, since you've been able to get Ubuntu working, that you try an install of Arch, following their Beginner's Guide instead of just the installation instructions. It's a very pared-down distro that still handles most of the really low-level stuff for you.
It's a bit unstable as a day-to-day distro, but I use it exclusively and haven't had too much trouble. If you want something rock-solid on the side from your "experimenting" system, definitely go with Debian.
And once you've gotten used to Arch and can get it running without too much trouble, do try out Linux From Scratch. It's time-consuming and difficult, but well worth it.
I'd recommend dual-booting at first, but try to resist the temptation to switch back to Windows if you don't know how something works - I used Linux for five years before I stopped dual/multi-booting, and it was the second-best decision I ever made (after using Linux in the first place). Linux is an incredibly powerful system when you learn to use it properly.
I just put together a new Arch setup with LUKS full-disk encryption. I'd say full-disk encryption is the #1 step to take in securing your setup.
https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS
If the wireless network you're connecting to is open, it's: $ ip link set wlan0 up $ iwconfig wlan0 essid "network" and assuming you're using DHCP: $ dhcpcd wlan0 and then test the connection: $ ping -c 3 google.com Replace wlan0 with your wireless interface, and "network" with the ESSID of your network.
For a desktop (ie, non-server) setup, it's considered (very) bad practice to use the root account for tasks that don't need it. The question is badly-worded but correct in intent.
I'd recommend, since you've been able to get Ubuntu working, that you try an install of Arch, following their Beginner's Guide instead of just the installation instructions. It's a very pared-down distro that still handles most of the really low-level stuff for you.
It's a bit unstable as a day-to-day distro, but I use it exclusively and haven't had too much trouble. If you want something rock-solid on the side from your "experimenting" system, definitely go with Debian.
And once you've gotten used to Arch and can get it running without too much trouble, do try out Linux From Scratch. It's time-consuming and difficult, but well worth it.
I'd recommend dual-booting at first, but try to resist the temptation to switch back to Windows if you don't know how something works - I used Linux for five years before I stopped dual/multi-booting, and it was the second-best decision I ever made (after using Linux in the first place). Linux is an incredibly powerful system when you learn to use it properly.