2017-05-15 12:13 GMT+02:00 K K Subbu <kksubbu.ml@gmail.com>:
~ is a shell language synonym for $HOME. Both are expanded by the shell before calling file syscall in the kernel. Kernel's filename resolver does not do ~ or $HOME expansions.

Thanks Subbu :)