In Linux, can i change file content, but keep the same modification date of that file? If yes, then how? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Get what is the modification Date of your file.
Change your files content and then you can change the modification date by
touchcommand.For exampleYou can change the modification date to the past too, for 10/15/1998 12:30 the command would be something like this: