1. How do I create an empty line and pass it on to a file so there is a space as if I had hit return?
2. How can I create an empty or zero byte file? I have been trying to use cat for this but it stops my script waiting for me to enter text.
Code:
echo "text" >> test
echo "" >> test #line which I want to be a space
echo "text" >> test
2. How can I create an empty or zero byte file? I have been trying to use cat for this but it stops my script waiting for me to enter text.
Code:
cat > ~/.test