Friday 22 August 2014

UNIX: touch command

Touch Command:

Touch command is used to create a file with zero kB size or modifying the time of a file along with the modification of size to zero kB.

touch a.txt
creates a file with zero kB

touch -m -t timestamp /etl/IS/Data/archive/Filename_test.txt
timestamp format----> YYYYMMDDHHMM

No comments:

Post a Comment