i need to redirect a output of a command to two files say file1 and file2 file1 is a new file and file2 is already existing file where i need to append the output i have tri
In Linux, you can do this
command | tee file1 >> file2