I want to get the std output and err out to be written in both files simultaneously by one command
echo $((1/0)) $((1+2)) > out.txt 2> err.txt
it print only the output to the shell not event to the err txt file this command is only an example i want any command to write both file in the same time