Changes

Jump to: navigation, search
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 '''binexamples''' directory (i.e. the relative -to-home pathname: '''..~/../..uli101/binexamples'''.]]</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 pathname: '''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'''
The tilde ~ is replaced by your home directory (typically /home/useridcurrent-user-id) to make the pathname absolute.
You can immediately place a username after the tilde to represent another user’s home directory.
13,420
edits

Navigation menu