New answers tagged

0

For standard Unix, stat -c %Y as seen in other answers gets you the 'last modified' time. But for some circumstances you might want the 'inode change time' - this is when the metadata last changed. It gets updated when you first make the file and then when you do things like chmod (which, most of the time, you won't be doing - so in many circumstances it ...


2

The formula for average of difference is {(2nd-1st) + (3rd-2nd) + ... + (nth-(n-1)th}/(NR-1) Here 2nd-1st etc are difference between each consecutive times and there are NR-1 such difference So it essentially removes all terms between nth (last term) and 1st (first term) as it becomes (2nd-1st+3rd-2nd+..+nth-(n-1)th)/(NR-1). So the formula is (nth-1st)/(...


Top 50 recent answers are included