Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

help with timestamp of the file

$
0
0
Hi ,i want to convert the timestamp of file into yyyymmdd hh:mi:ss format.I tried ls -l test |awk -F" " '{print $6,$7,$8}' and the result I got was Jul 16 21:31.Can some one help me how do i get his into yyyymmdd hh:mi:ss format.Thank you

Viewing all articles
Browse latest Browse all 16232

Trending Articles