DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux change date and then change files ctime
$ NOW=$(date) && date -s "2030-08-15 21:30:11" && touch file.txt && date -s "$NOW"
Source by www.shellhacks.com #
PREVIOUS
NEXT
Tagged:
#linux
#change
#date
#change
#files
#ctime
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit