Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash echo can create file

echo "First file" > test_1.txt
echo "Second file" > test_2.txt
ls
test_1.txt test_2.txt
cat test_1.txt test_2.txt
First file
Second file
Source by ubuntu.com #
 
PREVIOUS NEXT
Tagged: #bash #echo #create #file
ADD COMMENT
Topic
Name
8+2 =