Created
September 22, 2013 19:00
-
-
Save cirrusUK/6662755 to your computer and use it in GitHub Desktop.
simple bash script to be notified of date of current OS install.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
AGE=$(sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:') | |
notify-send -i ~/.icons/info.svg "$AGE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment