create text file and inside with echo code example Example: touch create file with content touch ~/Desktop/something.txt