Q. Create a new file “new.txt” that is a concatenation of “file1.txt” and “file2.txt” (Solved)
1. cp file.txt file2.txt new.txt
2. cat file1.txt file2.txt> new.txt
3. mv file[12].txt new.txt
4. ls file1.txt file2.txt | new.txt
- b. cat file1.txt file2.txt> new.txt