Skip to content

Instantly share code, notes, and snippets.

@the-architect
Last active August 29, 2015 14:03
Show Gist options
  • Save the-architect/e57f78ae10d5be7108e4 to your computer and use it in GitHub Desktop.
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
# ubuntu:
# add this to your ~/.bashrc
cmdstamp(){
which $1 | xargs stat -c '%Y'
}
@the-architect
Copy link
Author

handy if you want to verify the replacement of program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment