What Is the command to change a file's creation time. means
one file is created at the time 15:19 then time should br
changed to 14:14

Answer Posted / atul khachane

Yes. Touch command update the access and modification times of each FILE to the current time.

-d, --date=STRING
parse STRING and use it instead of current time

-t STAMP
use [[CC]YY]MMDDhhmm[.ss] instead of current time

-d and -t options accept different time-date formats.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is used to type command?

544


What does grep v do?

562


Differentiate cmp command from diff command.

588


What is a command and examples?

588


Name the general commands in using unix os for a beginner?

625






How does the system know where one command ends and another begins?

1579


Explain ‘library functions’ with respect to unix commands?

604


What are grep patterns?

579


Explain command to display different lines that are found when compare two files?

678


Which command should you use to find the remaining disk space in unix server?

710


Why is grep called grep?

783


What does find command return in unix?

597


Which command can you use to find the currently running process in unix server?

589


How do I open a port?

596


How do I find previous commands in unix?

594