add text to file with touch command code example Example: touch create file with content touch ~/Desktop/something.txt