Ask DN: Favorite bash_profile aliases?

over 3 years ago from David M, UI Developer

  • Conlin "Wuz" DurbinConlin "Wuz" Durbin, over 3 years ago

    Some of my favorites:

    _=sudo biggest='find -type f -printf ''\''%s %p\n''\'' | sort -nr | head -n 40 | gawk ''{ print $1/1000000 " " $2 " " $3 " " $4 " " $5 " " $6 " " $7 " " $8 " " $9 }''' cdf='cd "$(pfd)"'

    pdf is:

    pfd () { osascript 2> /dev/null <<EOF tell application "Finder" return POSIX path of (target of first window as text) end tell EOF } pumpitup='osascript -e ''set volume 10''' sl=ls stfu='osascript -e ''set volume output muted true'''
    0 points