Basic Commands in Linux - To create a file

Touch


   Touch is used to create an empty file, Touch can also be used to change the date and time of the file.

touch [filename] - This will create an empty file.

touch bill

touch -t mmddhhmm [filename]- this command will change the date and time of the file.

touch -t 10101213 bill

Comments