I am unable to figure out how to properly pipe and tee to append to a range of files. Instead of manually typing them out
echo "help!" | tee >> file1 file2 file3
I am trying to figure out:
echo "help!" | tee >> ~/file*
I have tried one line commands and tried making a loop using ls, echo, and touch but I am still unsure how to pipe a list of files into tee.