Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011
  1. #!/bin/bash
  2. LAST_SEEN_FILE=/var/tmp/human_last_seen
  3. LAST_CHECKED_FILE=/var/tmp/human_last_checked
  4. LAST_SEEN=`stat /var/tmp/human_last_seen --format=%Y`
  5. TIME_NOW=`date +%s`
  6. AGO=$(( $TIME_NOW - $LAST_SEEN ))
  7. echo $AGO