Answers for "EOF"

2

EOF

#for print text in end file 
cat <<EOF>> yourfile.txt
your text ....
EOF

#for print text and remove past txt
cat <<EOF>> yourfile.txt
your txt ....
EOF

#creat or cope text for end file ..use sudo 
sudo bash -c 'cat << EOF >> yourfile.txt
line1
line2
line3
EOF'
Posted by: Guest on January-13-2021
1

EOF usage

while (fscanf(f, "   %s   ", &etc) != EOF) {

}
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language