touch command is used to create an empty filename Example : $ touch knowledgehut.txt Also for existing files or directories, touch command changes the last access time to current time.