42/d09/ex03/defuse.sh

15 lines
966 B
Bash
Raw Permalink Normal View History

2016-11-20 02:20:23 +02:00
# **************************************************************************** #
# #
# ::: :::::::: #
# defuse.sh :+: :+: :+: #
# +:+ +:+ +:+ #
# By: gtertysh <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/11/03 21:41:01 by gtertysh #+# #+# #
# Updated: 2016/11/04 02:01:19 by gtertysh ### ########.fr #
# #
# **************************************************************************** #
LAST_ACCESS_TIME=$(stat -f %a bomb.txt)
echo "$LAST_ACCESS_TIME - 1" | bc