diff --git a/shell/aliases.sh b/shell/aliases.sh index 2ac040e..835061d 100755 --- a/shell/aliases.sh +++ b/shell/aliases.sh @@ -134,5 +134,5 @@ dpms(){ # - likely to experience if connected via wifi and ethernet # - xargs it to nmap at the end alias snet="ip addr | \\grep -v "inet6" | \\grep inet | cut -d \" \" -f 6 | \\grep -v '127\\.0\\.[0-1]\\.[0-1]' | xargs -n 1 ipcalc | awk '/Network:/{print \$2}' | sort -u | xargs nmap" - +alias sort-by-size="du -hsc * | sort -hk1" #END alias-definitions