Linux touch command

Using touch command:
We can Update the access and modification times of each FILE to the current time.
We can Create multiple files but all are empty


touch [options] file(s)
touch [options] file1, file2, … filen

Create multiple files using touch command

touch Addlogin.ksh ResetPassword.ksh Get_Password.ksh

Update the file3 time stamp.

touch file3

Linux touch command

Linux touch command1

Powered by k2schools
Skip to toolbar