Skip to content

Commit a89425d

Browse files
dbieberclaude
andcommitted
Fix formatting of nmcli commands in bash_history
Improved formatting by: - Removing isolated comment and blank lines - Ensuring consistent spacing (2 spaces) before comments - Maintaining command ordering and content 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0bcf767 commit a89425d

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/templates/bash_history

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,15 @@ cat /etc/dnsmasq.conf
1818
python -m http.server
1919
sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
2020
sudo iptables -t nat -L
21-
22-
# NetworkManager Wi-Fi commands
23-
nmcli radio wifi on # turn on wifi adapter
24-
nmcli device wifi list # list available wifi networks
25-
nmcli -t -f SSID,SIGNAL,SECURITY device wifi list # show networks with signal strength
26-
nmcli connection show # list all network connections
27-
nmcli connection up id "SSID" # connect to saved network
28-
nmcli device wifi connect "SSID" password "PASSWORD" # connect to new network
29-
nmcli connection modify "SSID" wifi-sec.psk "NEWPASSWORD" # change wifi password
30-
nmcli connection delete "SSID" # remove connection
31-
sudo systemctl restart NetworkManager # restart network service
32-
21+
nmcli radio wifi on # turn on wifi adapter
22+
nmcli device wifi list # list available wifi networks
23+
nmcli -t -f SSID,SIGNAL,SECURITY device wifi list # show networks with signal strength
24+
nmcli connection show # list all network connections
25+
nmcli connection up id "SSID" # connect to saved network
26+
nmcli device wifi connect "SSID" password "PASSWORD" # connect to new network
27+
nmcli connection modify "SSID" wifi-sec.psk "NEWPASSWORD" # change wifi password
28+
nmcli connection delete "SSID" # remove connection
29+
sudo systemctl restart NetworkManager # restart network service
3330
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
3431
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
3532
nano /home/pi/code/github/dbieber/GoNoteGo/gonotego/settings/secure_settings.py

0 commit comments

Comments
 (0)