touch command in linux



touch command: Mostly this command is use to create blank file. But also this command will help us to modify the time stamp of file.

Create a blank file
# touch test1.txt

Create multiple file
# touch test1.txt test2.txt test3.txt

Another way to create multiple file
# touch a{1..10}
# touch {a..z}
# touch {A..Z}

Change/modify only access time of file
# touch -c file1

Check file access time using stat command
# stat file1