I am trying to take updated contents from fileA.txt to update fileB.txt's information. I have already tried appending contents from fileA.txt to fileB.txt using the command,cat /root/important/usefulcmds >> /home/ftpuser/rootfiles/usefulcmds.I get no error and nothing gets updated in the /rootfiles/usefulcmds file. Ultimately I want to be able to run a script that updates fileB.txt, using fileA.txt. How do I go about updating fileB.txt's information with fileA.txt's information? i.e. what command(s) do I need to use?Thank you.
How do I append contents from fileA.txt to fileB.txt?
linux;bash;centos;filesystems;cat
You're already using the right command, and by the sounds of the latest comments, it works.