iscomar001
2/25/2015 - 1:05 AM

Output-file

Output-file

Copy content of file1 to file2
cat file1 > file2
Append content of file1 to file2
cat file1>>file2
Create a new file myfile.txt with text “some text”
echo “some text” > myfile.txt