The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-22-2009
mrlayance mrlayance is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 21
Convert Unix Time to Standard Time

I have a list of interfaces and time the interface was last active. I can't figure out how to convert the time in the second column,

PHP Code:
Fa1/14 0
Se0
/0/0 0
Fa1
/11 0
Fa1
/9 0
Fa1
/0 0
Se0
/0/1 1240401408
Gi1
/0 0
Fa0
/0 1240401408
Fa1
/3 0
Fa1
/8 0
Fa1
/15 0
Fa1
/13 0
Fa1
/10 0
Fa1
/1 0
Fa1
/12 1240401408
Fa0
/1 1240401408
Fa1
/5 1240401408
Fa1
/6 0
Se0
/0/0.1 0
Fa1
/7 0
Fa1
/2 0
Lo0 0
Fa1
/4 1240401408 
Can this be done with shell?