Touch can't change access time
Actually it does, but not to the time specified.
I wanted to change access time of a file with the command: touch -a -t 0505051559 filename however the result returned with 'ls -cl' is always the (current) time of the last touch command. What do I miss? |
To list the access time, use "ls -l --time=atime".
Code:
$ echo :>sample |
Quote:
Now I understand what they mean with "--time=WORD" from 'man ls'. Thanks a lot jschiwal. |
All times are GMT -5. The time now is 02:38 PM. |