you can use iwctl
example:
list interfaces (usually wlan0)
$ ip link
enter iwctl:
$ iwctl
rescan:
$ <iwctl> station [interface] scan
connect:
$ <iwctl> station [interface] connect [ssid]
list networks:
$ <iwctl> station [interface] get-networks
exit:
$ <iwctl> exit
do not run wubuntu