* David selby (debian@pusspaws.net) [030709 12:08]:
> Is there a neater way to get a modification date for a file without ls
> -l & sed ? I have a bash script that needs to get the info. Because the
> file size varies I cannot use cut, it may cut the wrong bit.
stat -c "%y" $filename
good times,
Vineet
--
http://www.doorstop.net/
--
#include<stdio.h>
int main() {
puts("Reader! Think not that \n"
"technical information \n"
"ought not be called speech;");
return 0;
}
Attachment:
signature.asc
Description: Digital signature