13,420
edits
Changes
→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 another user's home directory location to their '''notes''' directory (i.e. the relative-to-home pathname: '''~jane/uli101/notes''']]</td></tr></table>
You can specify a pathname as relative-to-home by using a tilde �tilde and possibly a slash at the start, e.g. ''beginning of the pathname�The tilde character ~' is replaced by your home directory (typically /home/current-user-id)�You can immediately place a username after the tilde to represent another user’s home directory (for example: ~jane = /uli101home/notes.html'''jane)�