Initialize configurations
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
# Allow usage of aliases when using sudo
|
||||
alias sudo='sudo '
|
||||
alias ls='ls --color'
|
||||
alias less='less -R'
|
||||
alias curlTiming="curl -w \" time_namelookup: %{time_namelookup}s\n time_connect: %{time_connect}s\n time_appconnect: %{time_appconnect}s\n time_pretransfer: %{time_pretransfer}s\n time_redirect: %{time_redirect}s\n time_starttransfe
|
||||
r: %{time_starttransfer}s\n ----------\n time_total: %{time_total}s\n\" -o /dev/null"
|
||||
|
||||
dbase64() {
|
||||
echo -n "${1}" | base64 -d
|
||||
}
|
||||
|
||||
function appConnections()
|
||||
{
|
||||
ss -tpla | grep -v Recv-Q | awk '{print $5 $6}' | sed -e 's#\(.*\)users:((\"\(\w\+\)\".*#\2 - \1#' | sort | uniq
|
||||
}
|
||||
alias conns=appConnections
|
||||
Reference in New Issue
Block a user