1. Enter the single line to file: echo "111"> 1.txt
2. Enter multiple lines to the file: cat << EOR> 1.txt
<111
<222
<333
<EOF
1. Enter the single line to file: echo "111"> 1.txt
2. Enter multiple lines to the file: cat << EOR> 1.txt
<111
<222
<333
<EOF