Copy and append files to a remote machine: cat error
问题 So, I have a bit of a problem: Originally I was using scp to copy a file from a local machine to a remote machine before I realized that scp overwrites instead of appends. But I need it to append. So I did some Googling and this alternative using cat and ssh popped up instead: cat localfile | ssh user@remoteserver "cat >> remotefile" Problem is, I get this interesting error whenever I use that method: bash: cat: command not found When I normally ssh into my remote machine, I can cat just fine