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

Popular posts from this blog

Basic Commands in Linux - To display list of files and folders in a directory or folder

Basic Commands in Linux - To display Date And Time