Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash write file

cat <<EOF | sudo tee /etc/test.txt
Hello World
EOF
 
PREVIOUS NEXT
Tagged: #bash #write #file
ADD COMMENT
Topic
Name
3+6 =