touch a file with content code example Example: touch create file with content touch ~/Desktop/something.txt