Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. [..]
  2. UPTIME=$(cut -d" " -f1 < /proc/uptime)
  3. SECONDS=$(date +%s)
  4. date -d"70-1-1 + $SECONDS sec - $UPTIME sec + $TIMESTAMP sec " +"%d/%m/%Y %T"
  5. [..]
  6.  
  7. date "+%z %Z"
  8. +0200 IST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement