13,420
edits
Changes
→Relative-to-home Pathnames
====Relative-to-home Pathnames====
<table align="right"><tr><td>[[Image:relative-to-home-1.png|thumb|right|250px|Directories in red display the path from the home directory of the current user (which is '''userid''') to the '''examples''' directory (i.e. the relative-to-home pathname: '''~/uli101/examples'''.]]</td><td>[[Image:relative-to-home-2.png|thumb|right|250px|Directories in red display the path from the current directory location (which is '''uli101''') to the '''examples''' directory (i.e. the relative -to-home pathname: '''~jane/uli101/examples''' or ./uli101/examples]]</td></tr></table>
You can specify a pathname as relative-to-home by using a tilde and slash at the start, e.g. '''~/uli101/notes.html'''