touch command in linux | linux file timestamps | access, modify and change timestamps

preview_player
Показать описание
To learn, do and experiment.

The touch command is useful to create new files and change Linux file timestamps. Hope you like the video.;)

For complete beginners, it is better to use a Linux machine to follow along with the video.

It is created by keeping beginners in mind. So, it may be a little slow for some viewers. I suggest they keep 1.25 playback speed. If you like the video, please give a like to it and subscribe to my channel. Remember, it supports me a lot.

Chapters:
0:00 Introduction
0:10 touch Command
0:46 timestamps of a file in Linux
1:01 stat command
1:30 access timestamp (atime)
2:14 modify timestamp (mtime)
3:05 change timestamp (ctime)
3:42 Changing access and modify timestamps using touch
7:43 Making timestamps of two files same

Link to Linux playlist:
Рекомендации по теме
Комментарии
Автор

Video is very helpful thanks a lot sir waiting for upcoming videos

sivadeepank
Автор

can we change that time stamp of a directory to show only year instead of current time when executing ls -l command? it is easy when using touch --date=2022 <file> but it is hard doing it on a directory. please help!

zacishtaar
visit shbcf.ru