Skip to content

Instantly share code, notes, and snippets.

@melMass

melMass/bash.md

Forked from todgru/bash.md
Last active Nov 1, 2015
Embed
What would you like to do?
bash

#BASH

  • du -sh {directory} list display size of directory in human readable format.
  • du -sh * show size of each directory in the current path
  • df disk space usage
$ du -sh *
 11M  Applications
1.9G	Desktop
 14G	Documents
8.0K	Downloads
1.7G	Dropbox
...

###Display Notifications using AS

osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment