literally1848

joined 1 year ago
[–] [email protected] 2 points 1 year ago

alias clearswap='sudo swapoff -a && sudo swapon -a

alias reload='source ~/.bashrc'

scan_local() {

 local_ip=$(ip addr show wlan0 | grep "inet " | awk '{print $2}' | awk -F '/' '{print $1}')

 sudo nmap -sn "$local_ip/24"

}