command create text file and add text code example Example: make text file command line cat > sample.txt # Write some text, press Ctrl+D when you are done