How to connect to wifi
Ajeeb.K.P

Ajeeb.K.P @ajeebkp23

About: Muslim, Husband, Programmer, Indian/Kerala. Speaks English, Malayalam. Always curious about technology, computing etc.

Joined:
Mar 7, 2020

How to connect to wifi

Publish Date: Oct 15 '23
0 0

Export your password

export WIFI_PASSWORD=<your-password>

If you don't want to see your password in bash history, just add a space before above command. This is not specific to this command, for any command in bash shell.

How to see existing wifi list

sudo nmcli dev wifi

Connect to your WiFi

sudo nmcli dev wifi connect "<your-wifi-name-or-ssid>" password "$WIFI_PASSWORD"

Comments 0 total

    Add comment