Guest User

Untitled

a guest
Jan 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. while [ TRUE ]
  2. do
  3.     date=`eval date "+%Y-%m-%d"`
  4.     uptime=`uptime`
  5.     echo $date $uptime >> log.txt
  6.     sleep 10s
  7. done
Add Comment
Please, Sign In to add comment