Skillset can help you prepare! Sign up for your free Skillset account and take the first steps towards your certification.
The Linux command to change a file timestamp is:
touch
attr
attrib
chmod
The touch command can be used to create a file. It can also be used to change the timestamps for files by specifying options to do so. For example, the -a option changes only the access time, while the -m option changes only the modification time.
The use of both of these options together changes both the access and modification times to the current time, for example: touch -am file3
Train with Skillset and pass your certification exam. Faster. Guaranteed.
Study thousands of practice questions that organized by skills and ranked by difficulty.
Create a tailored training plan based on the knowledge you already possess.
Know when you’re ready for the high-stakes exam. Have the confidence that you will pass on your first attempt.