Finding out directory of a user in Linux

echo ~username
or

dir = ~username
echo $dir
should do the trick from terminal window.