Question & Answer: Unix, bash commands…..

Unix, bash commands

Create fileABC, that combines three files, starting with fileA , then fileB, then fileC

2. Use echo, add “this is a new last line” to the end of the file

Expert Answer

 

# cat command used to combine several files into a single file

cat fileA fileB fileC > fileABC

echo “this is a new last line” >> fileABC

#if you use > instead of >> in the above command, then the fileABC is overwritten.

Still stressed from student homework?
Get quality assistance from academic writers!