Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux how to write to file

#write to file and delete previous text
cat > file
#write to file and connect to the end of the text
cat >> file
 
PREVIOUS NEXT
Tagged: #linux #write #file
ADD COMMENT
Topic
Name
2+3 =