linux + change/edit file without effecting on file date
- by yael
I want to edit some file in my linux for example
ls -ltr /etc/some_file
-rw-r--r-- 1 root root 188 Jul 1 2010 sysstat
.
echo "Server101_IP=187.0.98.4" >> /etc/some_file
.
I expect to get the following date:
ls -ltr /etc/some_file
-rw-r--r-- 1 root root 188 Jul 1 2010 sysstat
but the date & time of this file must be not change !
I just want to edit file but I Wondering how to change the file without effect on the date & time of the file - is it possible ?