mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[shell/aliases] add sort-by-size
This commit is contained in:
parent
4c1a2a6a73
commit
8bec8cccab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue