repalce the 'stat' command
Hello,
I need to use a shell script (bash) on many Solaris 10 machines.
Unfortunately, a command in this script isn't installed on the machines and I don't should to install it ;(
So, this command is the stat and it is use for calculate the last modification since Epoch for a specific file :
stat %Y file
My question is how could I do that without that? Could I replace with a another command?
Do you have any ideas?
Thanks for your help
Best regards
I need to use a shell script (bash) on many Solaris 10 machines.
Unfortunately, a command in this script isn't installed on the machines and I don't should to install it ;(
So, this command is the stat and it is use for calculate the last modification since Epoch for a specific file :
stat %Y file
My question is how could I do that without that? Could I replace with a another command?
Do you have any ideas?
Thanks for your help
Best regards
0