Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Touch Command Options
#1

  Linux Touch Command Options
 

Linux Touch Command Options


                                                                                                                                                                                                                               
FlagUse Case
-aChange the access time
-mChange the modification time
-cPrevent creating a new file
-hChange the symbolic link timestamp
-hChange the timestamp for symbolic links
-t <stamp>Modify the timestamp. In this case, <stamp> follows the date-time format
-d=<string>Change the timestamp based on the date string
-r=<file>Change the timestamp based on the reference file
-v or --versionDisplay the touch command version
--helpDisplay the help menu
 

File Timestamps: In Linux, every file and folder has a timestamp that shows when a file’s content or attributes were modified...

 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)