Last active
August 29, 2015 14:03
-
-
Save the-architect/e57f78ae10d5be7108e4 to your computer and use it in GitHub Desktop.
Show the last accessed timestamp for a command line program in path
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
# ubuntu: | |
# add this to your ~/.bashrc | |
cmdstamp(){ | |
which $1 | xargs stat -c '%Y' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
handy if you want to verify the replacement of program.