Add firefox alias, add activeHosts function

This commit is contained in:
histalek 2021-05-23 10:23:44 +02:00
parent c0e247ac3c
commit c5534762ed
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -53,3 +53,11 @@ function psgrep {
ps axuf | grep -v grep | grep "$@" -i --color=auto;
}
## check active hosts on subnet
function getActiveHosts {
nmap -sP $(ip route | awk '/src/ {print $1}');
}
## always spawn new window for firefox
alias firefox='firefox --new-window'