Index: scripts/wifi_scan_for_networks.sh =================================================================== diff -u --- scripts/wifi_scan_for_networks.sh (revision 0) +++ scripts/wifi_scan_for_networks.sh (revision cbdaaedfc86390b3ea0ac54018ec8d718947390c) @@ -0,0 +1,18 @@ +#!/bin/sh +########################################################################### +# +# Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. +# +# THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +# WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +# +# @file wifi_scan_for_networks.sh +# +# @author (last) Behrouz NematiPour +# @date (last) 11-May-2021 +# @author (original) Behrouz NematiPour +# @date (original) 11-May-2021 +# +############################################################################ + +sudo nmcli -t -f SSID,BSSID,FREQ,RATE,SIGNAL,SECURITY,WPA-FLAGS,RSN-FLAGS,IN-USE dev wifi list --rescan yes | sed 's/:/,/g;s/\\,/:/g' | sort > /tmp/wifi.list \ No newline at end of file