A simple way to create a file in Linux. I can be empty of have a line of text, or multiple lines - you are all covered.
Create an empty file
Create a file with text
echo "Some text" > file.txt
Create a file with multiline text
cat <<EOF > file.txt