here you can see what i did
Yeah, this works, make sure you enter the directories, try writing it as follows:
cd downloads
cd funkin-windows-64bits
tee log.txt | ./Funkin.exe
This works!!! Thank you so much!