From 64cca2ca6ea513e78ff5421de0329dbe0cd7b9d6 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Mon, 4 Apr 2022 11:28:58 -0700 Subject: [PATCH] added vnstat-w alias that shows network logs for wlan0 in json format --- bashrc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bashrc.txt b/bashrc.txt index deb879ae..2ddbc9aa 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -255,6 +255,7 @@ alias updatedb="doas updatedb" alias iftop-w="doas iftop -i wlan0 -P" # usage p0f -i wlan0 alias p0f="doas p0f" +alias vnstat-w="vnstat -i wlan0 --json | jq" alias {wi,ssid}="doas iw wlan0 scan | grep SSID" alias wifi-list="connmanctl services" alias wifi-scan="connmanctl scan wifi"