Hello,

when I run the command

echo test | tee "~/Desktop/test.txt"

I get the following error message:

tee: ~/Desktop/test.txt: No such file or directory

But when I run

echo test | tee "/home/simon/Desktop/test.txt"

, which is the same directory, tee works fine.

If I omit the "", everything works fine as well.
Is this behavior intended? I don't see why the "" should change the behavior like this.


Best regards
Simon



Reply via email to