Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- #!/bin/bash
-
- LAST_SEEN_FILE=/var/tmp/human_last_seen
- LAST_CHECKED_FILE=/var/tmp/human_last_checked
-
- LAST_SEEN=`stat /var/tmp/human_last_seen --format=%Y`
- TIME_NOW=`date +%s`
-
- AGO=$(( $TIME_NOW - $LAST_SEEN ))
- echo $AGO
|