Top "Tilde-expansion" questions

Tilde expansion is a feature of the POSIX shell providing shortcut access to users' home directories.

How to manually expand a special variable (ex: ~ tilde) in bash

I have a variable in my bash script whose value is something like this: ~/a/b/c Note that it …

bash scripting tilde tilde-expansion
How do I find a user's home directory in Perl?

I need to check whether a file in a user's home directory exists so use file check: if ( -e "~/foo.…

perl home-directory tilde-expansion
Tilde in path doesn't expand to home directory

Say I have a folder called Foo located in /home/user/ (my /home/user also being represented by ~). I want …

bash syntax tilde-expansion