The touch command
Create empty files, or update a file’s time. Creates each file that doesn’t exist yet, empty. For a file that exists, it only updates the modification time; the contents stay as they are.
Usage
touch FILE...
Examples
touch todo.txtAn empty filetouch a.txt b.txt c.txtThree at once
Learn it step by step
Related commands
learner@sandbox: ~bash (practice)
Note: Try touch here: your home directory has sample files. Press Try beside an example, or type your own.
Enter runs · Tab completes names · ↑ ↓ step through history · Ctrl+L clears · type help for every command
A practice shell in your browser that behaves like bash on Linux for these commands. Nothing you type leaves the page.