diff --git a/bash/.bash_aliases b/bash/.bash_aliases index 7c2dae1..98fe0e5 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -9,15 +9,9 @@ alias l.='ls -d .* --color=auto' # Find all folders alias lsf="ls -alF | grep /$" -# This is GOLD for finding out what is taking so much space on your drives! -alias diskspace="du -Sh | sort -n -r |more" - # Command line mplayer movie watching for the win. #alias mp="mplayer -fs" -# Show me the size (sorted) of only the folders in this directory -alias folders="find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn" - # Easy move up directories alias ..="cd .." alias ...="cd ../.." @@ -72,5 +66,11 @@ alias df='df -H' alias du='du -ch' alias du1='du -ch -d 1 | sort -rh' +# This is GOLD for finding out what is taking so much space on your drives! +alias diskspace="du -Sh | sort -rh |more" + +# Show me the size (sorted) of only the folders in this directory +alias folders="find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn" + # Show all disks, partitions with sizes alias lds='sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL'