Add firefox alias, add activeHosts function
This commit is contained in:
parent
c0e247ac3c
commit
c5534762ed
1 changed files with 8 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue