execute script relative to another user's home directory : I'm a beginner in Linux scripting so excuse a stupid question please. Somehow I can't get the right search string to find the answer.

I want to run a script relative to a specific user's directory like:

~user/rel/path/to/script.sh

but I don't know what "~user" will translate to. It may even contain spaces. Should I quote it? And if so, how? I always get the file or folder does not exist error when I try to use quotes.

Thanks!