Skip to content

Instantly share code, notes, and snippets.

@ericbisme
Created August 7, 2020 15:40
Show Gist options
  • Save ericbisme/9c81d327c5227cc539b365b300977c67 to your computer and use it in GitHub Desktop.
Save ericbisme/9c81d327c5227cc539b365b300977c67 to your computer and use it in GitHub Desktop.
awk stuff
awk -v t=2592000 '$1 < t { exit 0 ; } $1 >= t { exit 1 ; }' /proc/uptime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment