touch - Create/Update Files in Linux

From the Linux Essential Commands cheat sheet · File & Directory Operations · verified Jul 2026

touch - Create/Update Files

Create empty files or update timestamps

bash
# Create empty file
touch newfile.txt

# Create multiple files
touch file1.txt file2.txt file3.txt

# Update timestamp only
touch existing_file.txt
✅ Creates file if it does not exist
💡 Updates access and modification times on existing files
🔍 Useful for creating placeholder files quickly
filescreatebasic

Continue with Linux Essential Commands

Save the full cheat sheet or work through every related task.

More Linux tasks

Back to the full Linux Essential Commands cheat sheet