Back to the learning path

touch

touch: "touch" a file to update its timestamps Command details
Step 1/3: Create an empty file

touch FILE creates an empty file. If it exists, only its modification time is updated; the content is untouched.

$ touch notes.txt
Beginnertouch
Create the empty file notes.log
Create an empty file named notes.log here.
mkdirNext lesson:cp